ListView的滚动型内 [英] ListView inside a ScrollView

查看:111
本文介绍了ListView的滚动型内的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:
  <一href="http://stackoverflow.com/questions/6210895/listview-inside-scrollview-is-not-scrolling-on-android">Listview滚动型内不滚动在Android

我有一个的ListView 滚动型的问题是,滚动型在滚动,但的ListView 不滚动。我认为,这种情况正在发生,因为滚动型这一点。有没有人有这个问题的解决方案?

I have a ListView inside a ScrollView and the problem is that the ScrollView is scrolling but ListView doesn't scroll. I think this is happening because of that ScrollView. Does anyone have a solution for this issue?

推荐答案

的ListView 取值有内置的滚动功能。封装在任何其他的布局就像一个的LinearLayout RelativeLayout的

ListViews have built-in scrolling capabilities. Encapsulate it in any other layout like a LinearLayout or RelativeLayout.

这篇关于ListView的滚动型内的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆