我使用的是从ListView数据库中填充的MySQL,列表视图项的数量由从数据库返回的行(更新记录时的更改)决定。
我认为这将像为listview定义一个水平方向一样简单,但事实并非如此:
<ListView
android:id="@+id/listView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
>
</ListView>这就是我想要达到的目标:

发布于 2016-11-18 13:27:59
https://stackoverflow.com/questions/40678269
复制相似问题