如何实现TableLayout滚动? [英] How to implement scrolling in TableLayout?

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

问题描述

我已经实现,如果数据是我所显示的名称和images.But列表简单的数据库的android application.In更多然后10,然后表格布局不垂直滚动。

I have implemented simple database android application.In which I have displayed list of name and images.But if data is more then ten then table layout is not scrolling vertically.

是否有可能实现垂直滚动,而不使用滚动?
如果可能的话,请给我提供一些参考。

Is it possible to implement vertical scrolling without using scrollview? If possible then please provide me some reference.

先谢谢了。

推荐答案

为什么你想这样做,而无需使用滚动型?你可以简单地包装你TableLayout一个滚动型里面添加的功能。

Why do you want to do it without using ScrollView? You can simply wrap your TableLayout inside a ScrollView to add the functionality.

我一直使用滚动型,所以我真的不能给你一个办法做到这一点不使用它。

I've always used ScrollView so I can't really give you a way to do this without using it.

随机链接,解释它pretty得好:<一href=\"http://huuah.com/using-tablelayout-on-android/\">http://huuah.com/using-tablelayout-on-android/

Random link off Google that explains it pretty well: http://huuah.com/using-tablelayout-on-android/

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

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