首页
技术人生
登录
6mi
u
盘
搜
搜 索
技术人生
ListView自动滚动方法
ListView自动滚动方法
技术
2025-12-27
6
直接在Layout中写即可,注意下面的stackFromBottom以及transcriptMode这两个属性。
<ListView android:id="listCWJ" android:layout_width="fill_parent" android:layout_height="fill_parent" android:stackFromBottom="true" android:transcriptMode="alwaysScroll" />
转载请注明原文地址: https://ibbs.8miu.com/read-2271556.html
最新回复
(
0
)