I have the same problem.
I disagree that it's a fading scrollbar issue. If you disable the fading, the same thing happens.
Tried several approaches in themes.xml:
<item name="android:scrollbarDefaultDelayBeforeFade">100</item>
<item name="android:scrollbarFadeDuration">100</item>
<item name="android:fadeScrollbars">true</item>
But nothing helped.
It seems that it's a system thing with scrollViews.
This might help to see what's going on:
setOnScrollListener(new OnScrollListener(){
public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {
// TODO Auto-generated method stub
}
public void onScrollStateChanged(AbsListView view, int scrollState) {
// TODO Auto-generated method stub
if(scrollState == 0) Log.i("a", "scrolling stopped...");
}
});
}
But that (unfortunately) doesn't help in overcoming the problem - but rather explaining it.
NOTE: this only happens if you use ScrollView. ListView doesn't have this problem.
Anyone has another idea ?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…