From f94338a514de1aa11d6d0254ae1228112a7c6c32 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 20 Jan 2009 14:04:01 -0800 Subject: auto import from //branches/cupcake/...@127101 --- res/drawable/list_item_im_bubble.9.png | Bin 3291 -> 0 bytes res/drawable/list_item_im_bubble_default.9.png | Bin 878 -> 1224 bytes res/drawable/list_item_im_bubble_pressed.9.png | Bin 922 -> 1185 bytes res/drawable/list_item_im_bubble_selected.9.png | Bin 878 -> 1028 bytes res/layout/account_view.xml | 34 +++++++++++++++--------- src/com/android/providers/im/LandingPage.java | 2 +- 6 files changed, 22 insertions(+), 14 deletions(-) delete mode 100644 res/drawable/list_item_im_bubble.9.png diff --git a/res/drawable/list_item_im_bubble.9.png b/res/drawable/list_item_im_bubble.9.png deleted file mode 100644 index dd5e00a..0000000 Binary files a/res/drawable/list_item_im_bubble.9.png and /dev/null differ diff --git a/res/drawable/list_item_im_bubble_default.9.png b/res/drawable/list_item_im_bubble_default.9.png index d284e72..f04412c 100644 Binary files a/res/drawable/list_item_im_bubble_default.9.png and b/res/drawable/list_item_im_bubble_default.9.png differ diff --git a/res/drawable/list_item_im_bubble_pressed.9.png b/res/drawable/list_item_im_bubble_pressed.9.png index 962259c..669cae9 100644 Binary files a/res/drawable/list_item_im_bubble_pressed.9.png and b/res/drawable/list_item_im_bubble_pressed.9.png differ diff --git a/res/drawable/list_item_im_bubble_selected.9.png b/res/drawable/list_item_im_bubble_selected.9.png index e3c5861..cf2244b 100644 Binary files a/res/drawable/list_item_im_bubble_selected.9.png and b/res/drawable/list_item_im_bubble_selected.9.png differ diff --git a/res/layout/account_view.xml b/res/layout/account_view.xml index eba7a24..9a2ef70 100644 --- a/res/layout/account_view.xml +++ b/res/layout/account_view.xml @@ -46,13 +46,27 @@ android:layout_width="0dip" android:layout_height="fill_parent"> - - + android:layout_height="0dip" + android:gravity="center_vertical" + android:layout_weight="1"> + + + - diff --git a/src/com/android/providers/im/LandingPage.java b/src/com/android/providers/im/LandingPage.java index 364a899..66bf61e 100644 --- a/src/com/android/providers/im/LandingPage.java +++ b/src/com/android/providers/im/LandingPage.java @@ -512,7 +512,7 @@ public class LandingPage extends ListActivity implements View.OnCreateContextMen boolean isLoggedIn = isSignedIn(providerCursor); if (!isLoggedIn) { - menu.add(0, ID_SIGN_IN, 0, R.string.sign_in).setIcon(android.R.drawable.ic_menu_login); + menu.add(0, ID_SIGN_IN, 0, R.string.sign_in).setIcon(com.android.internal.R.drawable.ic_menu_login); } else { BrandingResources brandingRes = getBrandingResource(providerId); menu.add(0, ID_VIEW_CONTACT_LIST, 0, -- cgit v1.2.3