5

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?

1 Answer 1

7

try this types

SCROLLBARS_INSIDE_OVERLAY SCROLLBARS_INSIDE_INSET SCROLLBARS_OUTSIDE_OVERLAY SCROLLBARS_OUTSIDE_INSET 

like setScrollBarStyle(View.SCROLLBARS_OUTSIDE_INSET);

Sign up to request clarification or add additional context in comments.

1 Comment

This is correct, except that these constants are defined in the View class. For example: View.SCROLLBARS_INSIDE_OVERLAY

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.