From 0c426c9c4bd660e8dbae38c3c0328229ba0b7b09 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Tue, 28 Dec 2010 09:11:10 +0000 Subject: [PATCH] Round our color chips, clean up color hcip rendering a bit --- res/layout/accounts_item.xml | 4 ++- res/layout/folder_list_item.xml | 2 ++ res/layout/message_view_header.xml | 2 ++ src/com/fsck/k9/Account.java | 6 ++++ src/com/fsck/k9/activity/Accounts.java | 5 +-- src/com/fsck/k9/activity/ColorChip.java | 39 +++++++++++++++++++++++ src/com/fsck/k9/activity/FolderList.java | 2 +- src/com/fsck/k9/activity/MessageList.java | 6 +++- src/com/fsck/k9/activity/MessageView.java | 2 +- 9 files changed, 62 insertions(+), 6 deletions(-) create mode 100644 src/com/fsck/k9/activity/ColorChip.java diff --git a/res/layout/accounts_item.xml b/res/layout/accounts_item.xml index 0edc146da..5a968619b 100644 --- a/res/layout/accounts_item.xml +++ b/res/layout/accounts_item.xml @@ -14,6 +14,8 @@ android:id="@+id/chip" android:layout_width="6dip" android:layout_height="fill_parent" + android:layout_marginTop="2dip" + android:layout_marginBottom="1dip" android:layout_centerVertical="true" android:layout_alignParentLeft="true" /> @@ -24,7 +26,7 @@ android:layout_weight="1" android:orientation="horizontal" android:gravity="center_vertical" - android:paddingLeft="1dip" > + android:paddingLeft="6dip" > diff --git a/res/layout/message_view_header.xml b/res/layout/message_view_header.xml index 5de6d8de4..40498d399 100644 --- a/res/layout/message_view_header.xml +++ b/res/layout/message_view_header.xml @@ -9,6 +9,8 @@ >