`
hyshucom
  • 浏览: 806308 次
文章分类
社区版块
存档分类
最新评论

ListView自动滚动方法

 
阅读更多

直接在Layout中写即可,注意下面的stackFromBottom以及transcriptMode这两个属性。

<ListView android:id="listCWJ"  
        android:layout_width="fill_parent"  
        android:layout_height="fill_parent"  
        android:stackFromBottom="true"    
        android:transcriptMode="alwaysScroll"  
        /> 





分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics