Set minHeight of accounts and folder list to the height of star/envelope instead of listPreferredItemHeight. This way there's no jumping when message counts are returned from the database (see r1664) and the list item height is mostly defined by the font size.

This commit is contained in:
cketti 2010-05-10 23:16:54 +00:00
parent f092a1eb5e
commit d938a7807e
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight" android:minHeight="38dip"
android:orientation="horizontal" android:orientation="horizontal"
android:paddingRight="6dip" android:paddingRight="6dip"
android:paddingBottom="2dip" android:paddingBottom="2dip"

View file

@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight" android:minHeight="38dip"
android:paddingRight="4dip" android:paddingRight="4dip"
android:paddingBottom="2dip" android:paddingBottom="2dip"
android:orientation="horizontal" android:orientation="horizontal"