机器人:列表视图内滚动视图无法正常工作? [英] android: listview inside a scrollView doesn't work?

查看:104
本文介绍了机器人:列表视图内滚动视图无法正常工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个列表视图滚动视图,但问题是,滚动型在滚动,但列表视图不滚动。我认为这是由于滚动视图

I am having a listview inside a scrollview, but the problem is that the scrollview is scrolling but listview is not scrolling. I think this is due to that scrollView.

有人可以谁拥有一个可行的解决方案张贴在这里作为参考?

Can somebody who has a working solution post it here as reference?

推荐答案

如果你把你的ListView /滚动视图中的任何可滚动视图将无法正常工作,因为当你触摸屏幕,你淡淡的主要焦点是父视图(滚动视图)没有子视图(ListView控件)。

If you put your ListView/any scrollable View inside the scrollView it will not work properly because when you touch the screen ,main focus of your touch is on parent view(scrollView ) not the child View (ListView).

这篇关于机器人:列表视图内滚动视图无法正常工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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