How can I set scroll bar properties dynamically?
-
23-04-2021 - |
题
How can I set the property android:Scrollbars="none" dynamically?
解决方案
Please try this
scrollView.setVerticalScrollBarEnabled(false);
If you are using HorizontalScrollView
then
horizontalScrollView.setHorizontalScrollBarEnabled(false);
不隶属于 StackOverflow