采用的是Android任何正常的表视图? [英] Is any normal table view in Android?
问题描述
我需要建立这样的事情
但在Android系统。如何创建表(像秋千JTable中),这将是有:
but in Android. How to create table (like jtable in swing), which will be have:
- 静态标题
- 点击一行(如ListView的元素)
- 滚动内容
推荐答案
有没有像这样在Android的组件。您应该创建一个的ListView
与内容行和上面的标题行的布局。并就您将使用重新present在ListView中每一行的布局列分工。
There isn't a component like this on Android. You should create a ListView
with the content rows and above a layout with the header row. And make the column division on the layout that you will use to represent each row on the ListView.
另一种方法是创建一个 TableLayout
滚动里面,像这样的回答表明:<一href=\"http://stackoverflow.com/questions/4873556/focusable-row-inside-table-android/5258310#5258310\">focusable行内表的Android
Other way is create a TableLayout
inside a scroll, like this answer suggests: focusable row inside table android
这篇关于采用的是Android任何正常的表视图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!