setHorizontalScrollBarEnabled(boolean) - disable \ enable horizontal scrollbars. Show activity on this post. This is the property you should use on your ListView . All the best.
Show activity on this post. Try this: listViewObject. setTranscriptMode(0);
Try to type this in layout xml file
android:scrollbars="none"
Tutorial is here.
http://developer.android.com/reference/android/view/View.html#attr_android:scrollbars
Hope, it helps you
If you want to disable \ enable scrollbars programmatically you need use
View.setVericalScrollbarEnabled(boolean) - disable \ enable vertical scrollbars.
View.setHorizontalScrollBarEnabled(boolean) - disable \ enable horizontal scrollbars.
This is the property you should use on your ListView
. All the best.
android:scrollbars="none"
Also make sure that fast scrolling disabled:
listView.setFastScrollEnabled(false);
Thanks, Rahul
Usually using both of them
android:divider="@null"
android:dividerHeight="0dp"
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