How can I set scroll bar properties dynamically?
-
23-04-2021 - |
Question
How can I set the property android:Scrollbars="none" dynamically?
Solution
Please try this
scrollView.setVerticalScrollBarEnabled(false);
If you are using HorizontalScrollView
then
horizontalScrollView.setHorizontalScrollBarEnabled(false);
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow