From d938a7807ef5cae61ac2c65d5c1b839eaf29b2a5 Mon Sep 17 00:00:00 2001 From: cketti Date: Mon, 10 May 2010 23:16:54 +0000 Subject: [PATCH] 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. --- res/layout/accounts_item.xml | 2 +- res/layout/folder_list_item.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/res/layout/accounts_item.xml b/res/layout/accounts_item.xml index ac6658f25..e2b461079 100644 --- a/res/layout/accounts_item.xml +++ b/res/layout/accounts_item.xml @@ -3,7 +3,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:minHeight="?android:attr/listPreferredItemHeight" + android:minHeight="38dip" android:orientation="horizontal" android:paddingRight="6dip" android:paddingBottom="2dip" diff --git a/res/layout/folder_list_item.xml b/res/layout/folder_list_item.xml index 209d06b27..f548f8654 100644 --- a/res/layout/folder_list_item.xml +++ b/res/layout/folder_list_item.xml @@ -3,7 +3,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:minHeight="?android:attr/listPreferredItemHeight" + android:minHeight="38dip" android:paddingRight="4dip" android:paddingBottom="2dip" android:orientation="horizontal"