From 9a816fc2f4e1c04d698dac0e4aa558beabd39f37 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sun, 9 May 2010 20:08:11 +0000 Subject: [PATCH] list items stop jumping out from under fingers as counts are returned from the database were leading to a really bad user experience. This change sets up min-item-heights per discussion with cketti to stop that. --- res/layout/accounts_item.xml | 1 + res/layout/folder_list_item.xml | 1 + res/layout/message_list_item.xml | 1 + 3 files changed, 3 insertions(+) diff --git a/res/layout/accounts_item.xml b/res/layout/accounts_item.xml index fc7414d58..ac6658f25 100644 --- a/res/layout/accounts_item.xml +++ b/res/layout/accounts_item.xml @@ -3,6 +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: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 1fd943b42..209d06b27 100644 --- a/res/layout/folder_list_item.xml +++ b/res/layout/folder_list_item.xml @@ -3,6 +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:paddingRight="4dip" android:paddingBottom="2dip" android:orientation="horizontal" diff --git a/res/layout/message_list_item.xml b/res/layout/message_list_item.xml index 658fd37a1..32219a24e 100644 --- a/res/layout/message_list_item.xml +++ b/res/layout/message_list_item.xml @@ -3,6 +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:orientation="horizontal" android:paddingRight="1dip" android:paddingTop="2dip"