Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

change ScrollView scrollBarStyle programmatically in Android

I am trying to implement different styles for the ScrollView's scrollBarStyle in Android. I am well aware that the setScrollBarStyle() method is used, however I am not aware of what particular styles to access.

Could anyone please provide some additional information?

like image 309
user788511 Avatar asked Sep 20 '11 06:09

user788511


1 Answers

try this types

SCROLLBARS_INSIDE_OVERLAY
SCROLLBARS_INSIDE_INSET
SCROLLBARS_OUTSIDE_OVERLAY
SCROLLBARS_OUTSIDE_INSET

like setScrollBarStyle(View.SCROLLBARS_OUTSIDE_INSET);

like image 128
Lukap Avatar answered Sep 30 '22 06:09

Lukap