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?
Asked
Active
Viewed 6,228 times
4

Saro Taşciyan
- 5,210
- 5
- 31
- 50

user2799407
- 549
- 1
- 6
- 16
-
Did u tried this: `scrollView.setVerticalScrollBarEnabled(false); scrollView.setHorizontalScrollBarEnabled(false);` – M D Feb 20 '14 at 07:29
3 Answers
5
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"

Saro Taşciyan
- 5,210
- 5
- 31
- 50
0
try this: Programmatically set
scrollView.setVerticalScrollBarEnabled(false);
scrollView.setHorizontalScrollBarEnabled(false);
Or
android:scrollbars="none"

M D
- 47,665
- 9
- 93
- 114