Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Size of single listview item android

Does anyone know the standard size of a single listview item in android, in dpi or pixels?

Or maybe there isn't a standard?

like image 554
user1301563 Avatar asked Jun 19 '12 17:06

user1301563


2 Answers

Android defines a "preferred size" using,

android:minHeight="?android:attr/listPreferredItemHeight" 

Documented here as well.

like image 95
stuckless Avatar answered Oct 19 '22 18:10

stuckless


there is a strongly recommended list view item size, which you should use: 48dip. This is recommended by the new Android Design Guidelines.

like image 26
AZ13 Avatar answered Oct 19 '22 17:10

AZ13