When ScrollView first time appear, or there is a configuration change, the scroll bar will appear, then fading away.
If I do not want to show the ScrollView's scroll bar at all, I know I can
scrollView.setVerticalScrollBarEnabled(false);
during Activity's onCreate.
However, at the same time, I wish to display (then fading) the scroll bar, only when user is scrolling, so that he can have an idea what is the location of the scroll bar.
Is there any way I can have both
- Hide the scroll bar when the
ScrollViewfirst time appear, or there is configuration change. - Show the scroll bar, when the user is scrolling.