If you have scroll element on your Android Intent like HorizontalScrollView, TextView or elements inside ScrollView, and you do not want the ScrollBar to be not visible when the element is scrolled just add the below line to your element XML tag.
android:scrollbars="none"
You can also achieve this programatically using methods setVerticalScrollBarEnabled(false) and setHorizontalScrollBarEnabled(false) for your view.
view.setVerticalScrollBarEnabled(false);
view.setHorizontalScrollBarEnabled(false);


Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!