My Layout structure is like this
<LinearLayout>
<scrollview>
<RelativeLayout>
<scrollview>
...
...
</scrollview>
</RelativeLayout>
</scrollview>
</LinearLayout>
But problem is that when we scroll inner scrollview outer scrollview also scrolling due to which I unable to scroll inner scrollview which contains 50 line And able to read only 10 line please anyone guide me,How I can Manage it.
由于ListView具有内置的滚动,因此此做法将与ScrollView内部的ListView具有相同的模式(不适用于Android),那么您也可以参考此
If I do that for a scrollview inside scrollview it work very well (tested only for scrollview). I don't know if it's work for a listview.
@Override public boolean onInterceptTouchEvent(MotionEvent ev) {
if(getFocusedChild() != null) {
getParent().requestDisallowInterceptTouchEvent(true);
}
....
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.