user1301563
user1301563

Reputation: 73

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?

Upvotes: 5

Views: 4228

Answers (2)

stuckless
stuckless

Reputation: 6545

Android defines a "preferred size" using,

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

Documented here as well.

Upvotes: 10

AZ13
AZ13

Reputation: 14517

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

Upvotes: 4

Related Questions