From 15206a12e818dd1eeb4c5add851092b8a3e902a3 Mon Sep 17 00:00:00 2001 From: satok Date: Thu, 17 Sep 2009 18:44:26 +0900 Subject: [PATCH] UI Refuresh of account folder list BUG: 1904417 * Extend chip * Add separator between a folder button and account name --- res/layout/account_folder_list_item.xml | 10 +++++++--- res/layout/mailbox_list_item.xml | 2 +- res/layout/message_list_item.xml | 2 +- res/values/colors.xml | 1 + src/com/android/email/activity/AccountFolderList.java | 2 ++ 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/res/layout/account_folder_list_item.xml b/res/layout/account_folder_list_item.xml index 2be96fcc7..594ea851c 100644 --- a/res/layout/account_folder_list_item.xml +++ b/res/layout/account_folder_list_item.xml @@ -25,7 +25,7 @@ android:id="@+id/chip" android:background="@drawable/appointment_indicator_leftside_1" android:layout_width="4dip" - android:layout_height="56dip" + android:layout_height="fill_parent" android:layout_centerVertical="true" /> + #3B3B3B #333333 #3B3B3B + #303030 diff --git a/src/com/android/email/activity/AccountFolderList.java b/src/com/android/email/activity/AccountFolderList.java index 57429318c..2d945eb0d 100644 --- a/src/com/android/email/activity/AccountFolderList.java +++ b/src/com/android/email/activity/AccountFolderList.java @@ -753,6 +753,7 @@ public class AccountFolderList extends ListActivity countView.setPadding(2, 0, 2, 0); view.findViewById(R.id.folder_button).setVisibility(View.GONE); + view.findViewById(R.id.folder_separator).setVisibility(View.GONE); view.findViewById(R.id.folder_icon).setVisibility(View.VISIBLE); ((ImageView)view.findViewById(R.id.folder_icon)).setImageDrawable( Utility.FolderProperties.getInstance(context).getIconIds(type)); @@ -814,6 +815,7 @@ public class AccountFolderList extends ListActivity view.findViewById(R.id.folder_icon).setVisibility(View.GONE); view.findViewById(R.id.folder_button).setVisibility(View.VISIBLE); + view.findViewById(R.id.folder_separator).setVisibility(View.VISIBLE); } @Override