Android的替代品的JTable? [英] Android alternative to jtable?

查看:103
本文介绍了Android的替代品的JTable?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请问机器人(3.x中,SDK 11或刨丝器)具有类似于一个JTable对象的一个​​小部件?

Does android (3.x, sdk 11 or grater) has a widget similar to a jtable object?

(使用GridView控件或tablelayout)我searcing的准备部件使用。

Instead of developing one from the ground (using gridview or tablelayout) I'm searcing for a ready to use widget.

TIA,

鲍勃·

更新:我发现这个外观极好后 HTTP: //www.heikkitoivonen.net/blog/2009/02/15/multicolumn-listview-in-android/ 有关如何使用多列列表视图。

Update: I found this excelent post http://www.heikkitoivonen.net/blog/2009/02/15/multicolumn-listview-in-android/ about how to use a multicolumn listview.

推荐答案

不象这样在头方面,排序等。您可能要滚你自己的。最近在某种程度上是的ListView连同ListActivity但你必须记住,与较小的屏幕和导航由JTable中接触大量的用户界面范式不工作。

Not as such in terms of headers, sorting and so on. You will probably have to roll your own. The closest to some extend is ListView together with a ListActivity but you have to keep in mind that with the smaller screen and the navigation by touch lots of UI paradigms from JTable dont work.

请记住,每个列表行可以包含许多其他布局的项目,所以你可以很容易地模拟多列设置。你甚至可以包括被延迟加载图像,按钮与此行的特定功能等。

Keep in mind that each list row can include many other layout items so you can emulate multi column setups easily. You can even include images that are lazily loaded, buttons for specific functionality related to this row and so on..

这篇关于Android的替代品的JTable?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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