I developed a user form which has different widget. i set scrolling option but not able to generate scrollbar so not able scroll upto the last option. following is the code. can any one guide me to solve this problme
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:scrollbars="vertical"
android:scrollbarAlwaysDrawVerticalTrack="true"
android:scrollbarStyle="outsideInset" android:isScrollContainer="true"
android:overScrollMode="always"
>
..............
</LinearLayout>
You have to wrap your LinearLayout in a ScrollView. And delete the params of scrolling in your LinearLayout they have no effect.
NOTE: a ScrollView can only have one nested child! So it should be your main layout.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With