本文介绍了滚动视图内的可扩展列表视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Expandable listview所关注的内容很少,我无法滚动整个布局.我一直在寻找合适答案的一个多星期..建议一些答案.

I have few contents follwed by Expandable listview.I am not able to scroll the entire layout.I have been searching for appropriate answer more than a week..Suggest some answers.

推荐答案

首先,我想您不会在滚动视图中使用多个子布局,因为一个滚动视图只能有一个直接子视图.

Firstly I suppose you are not using more than one child layout inside a scroll view, as a scroll view can have only one direct child.

第二,您不应在滚动视图内使用任何滚动组件(如可扩展列表)这就是为什么 ScrollView内的ListView在Android上无法滚动的原因.

Secondly you should not use any scrolling component like expandable list, inside a scroll viewhere's why ListView inside ScrollView is not scrolling on Android.

这篇关于滚动视图内的可扩展列表视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 17:55