简体   繁体   中英

How to make a listview appearing from bottom or top?

List view with an base adapter.

Please guide me where what animation to add to make a listview appear from bottom to top. or top to bottom.

I want to show whole items at set adapter and fit to its display.

like list have three pages thn, on set adapter it show show 3rd page content and scholl up to top and fits to display.

Use

android:stackFromBottom="true"

in ListView xml

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM