滚动视图内的列表视图 [英] List View inside a Scroll View

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

问题描述

我要实现以下屏幕。它看起来完全正常了480 * 800像素的屏幕上。就因为缺少屏幕尺寸的低分辨率屏幕的结果的滚动暴露为用户滚动这个结果非常小的房地产。

I have to implement the screen below. It looks perfectly fine on a 480*800 pixel screen. On a low resolution screen because of the lack of screen size the Scrolling of the Results exposes very small real estate for the user to scroll thru the results.

这是实现它的最佳方式?

Which is the best way to implement it ?

推荐答案

我总是发现试图把一些滚动到别人的卷轴是一场噩梦,所以我可能会提出你的看法顶部东西(结果班加罗尔迈索尔日期)在ListView头里面,这样它会在屏幕上滚过

I always find trying to put something that scrolls into something else that scrolls is a nightmare so I would probably put the top of your view (results Bangalore to Mysore Date) inside the ListView header,that way it will scroll off the screen

listView.addHeaderView(listViewHeader);

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

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