Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to hide the scroll indicators of ScrollView? [duplicate]

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

like image 393
user2799407 Avatar asked Oct 19 '25 03:10

user2799407


1 Answers

If you want a ScrollView without scroll bars, you can use the following:

android:scrollbars="none"

You can do it porgramatically as follows:

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

Edit: Can you try this one android:scrollbarStyle="insideOverlay"

like image 174
Saro Taşciyan Avatar answered Oct 21 '25 18:10

Saro Taşciyan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!