Is there a way to hide ScrollView scroll metrics?

I want to use the entire width of the screen and make it scrollable. So I want to hide the scroll indicator ScrollView. How can I achieve this?

+3
source share
3 answers

If you want ScrollViewno scrollbars, you can use the following:

android:scrollbars="none"

You can do this programmatically as follows:

yourScrollView.setVerticalScrollBarEnabled(false);
yourScrollView.setHorizontalScrollBarEnabled(false);

Edit: can you try this android:scrollbarStyle="insideOverlay"

+4
source

In the layout file scrollbars="none"

0
source

try the following: programmatically install

 scrollView.setVerticalScrollBarEnabled(false); 
 scrollView.setHorizontalScrollBarEnabled(false);

Or

android:scrollbars="none"
0
source

All Articles