To ensure that the scroll bar always appears in the Android view, add the following property to the appropriate container in the xml layout
android:scrollbarFadeDuration="0"
Refer this .
In particular, for API level Android 4.0.3API 15 you can use
android:fadeScrollbars
It determines whether scrollbars should disappear when not in use. Must be a boolean, either "true" or "false". Source .
View.setScrollbarFadingEnabled(boolean) - , .