From 02f4d083967ec8b179c8c994366a561a188e6f08 Mon Sep 17 00:00:00 2001 From: cketti Date: Mon, 26 Apr 2010 22:22:23 +0000 Subject: [PATCH] - Added 1dip bottom margin to "number of starred messages" in account and folder list (looks nicer with dark theme) - Prettified folder_list_item.xml --- res/layout/accounts_item.xml | 1 + res/layout/folder_list_item.xml | 96 +++++++++++++++++---------------- 2 files changed, 51 insertions(+), 46 deletions(-) diff --git a/res/layout/accounts_item.xml b/res/layout/accounts_item.xml index 8c5f905f9..5e466ccd2 100644 --- a/res/layout/accounts_item.xml +++ b/res/layout/accounts_item.xml @@ -80,6 +80,7 @@ android:layout_alignParentBottom="true" android:layout_alignRight="@+id/new_message_count" android:layout_gravity="bottom" + android:layout_marginBottom="1dip" android:paddingTop="6dip" android:paddingBottom="4dip" android:paddingLeft="10dip" diff --git a/res/layout/folder_list_item.xml b/res/layout/folder_list_item.xml index 7a748f05d..eef8a75c7 100644 --- a/res/layout/folder_list_item.xml +++ b/res/layout/folder_list_item.xml @@ -3,42 +3,44 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="?android:attr/listPreferredItemHeight" + android:paddingRight="4dip" android:orientation="horizontal" - android:gravity="center_vertical" - android:background="@android:color/transparent" - android:paddingRight="4dip"> + android:gravity="center_vertical" > + + android:layout_alignParentLeft="true" /> + + android:paddingLeft="6dip" > + + android:textColor="?android:attr/textColorPrimary" + android:textAppearance="?android:attr/textAppearanceLarge" /> + + android:textColor="?android:attr/textColorTertiary" + android:textAppearance="?android:attr/textAppearanceSmall" /> + + - + + + android:singleLine="true" + android:ellipsize="end" + android:textAppearance="?android:attr/textAppearanceMedium" + android:textColor="#ffffff" + android:textStyle="bold" + android:background="@drawable/envelope" + android:clickable="true" /> + + android:singleLine="true" + android:ellipsize="end" + android:textAppearance="?android:attr/textAppearanceSmall" + android:textColor="#000000" + android:background="@drawable/btn_star_big_buttonless_on" + android:clickable="true" /> + +