jquerymobile里怎么设置listview的属性

2025-05-07 05:39:58
推荐回答(1个)
回答1:

1.android:stackFromBottom属性:在ListView和GridView中使用,使它们的内容从底部开始显示。 

 布局文件修改如下: 

    android:id="@+id/listView1"   

    android:layout_width="match_parent"   

    android:layout_height="match_parent"   

    android:stackFromBottom="true" />   

运行效果如下,列表在开始的时候,内容就从底部开始显示: