diff options
author | Katherine Kuan <katherinekuan@google.com> | 2011-08-02 14:18:16 -0700 |
---|---|---|
committer | Katherine Kuan <katherinekuan@google.com> | 2011-08-04 21:57:16 -0700 |
commit | fd70903236883f47b21f23b8cb49a1ccacdfcdf1 (patch) | |
tree | 98fdabb14b64a78033a87263d45f690c20d1f8b8 /res/layout/editor_account_header.xml | |
parent | 1c9b49686a02ab4dc6bf6ce6ba18f56ed2da79a5 (diff) | |
download | packages_apps_Contacts-fd70903236883f47b21f23b8cb49a1ccacdfcdf1.tar.gz packages_apps_Contacts-fd70903236883f47b21f23b8cb49a1ccacdfcdf1.tar.bz2 packages_apps_Contacts-fd70903236883f47b21f23b8cb49a1ccacdfcdf1.zip |
Pixel perfect work for phone contact editor
- Always show account header for raw contacts
- Align text fields and titles along the left margin
- Align spinners
- Use "Add new" as the default text if there's no value
in Event or Groups field yet
- Restyle account header
- Use primary/secondary colors everywhere
- Non-editable contact fixes: remove "not editable on
this device" and replace it with a toast when the
user clicks on the header, restyle item_read_only_field
Bug: 5097095
Change-Id: I94a6c91b05344028b64c62735fb4559f9944529d
Diffstat (limited to 'res/layout/editor_account_header.xml')
-rw-r--r-- | res/layout/editor_account_header.xml | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/res/layout/editor_account_header.xml b/res/layout/editor_account_header.xml index fbce1f9e1..5181708f9 100644 --- a/res/layout/editor_account_header.xml +++ b/res/layout/editor_account_header.xml @@ -16,11 +16,16 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/account_container" android:layout_height="wrap_content" android:layout_width="match_parent" + android:minHeight="48dip" + android:background="#EEEEEE" android:orientation="horizontal" - android:paddingLeft="10dip" - android:paddingRight="10dip"> + android:paddingTop="8dip" + android:paddingBottom="8dip" + android:paddingLeft="16dip" + android:paddingRight="16dip"> <LinearLayout android:id="@+id/account" @@ -53,8 +58,8 @@ <ImageView android:id="@+id/account_icon" - android:layout_width="45dip" - android:layout_height="45dip" + android:layout_width="32dip" + android:layout_height="32dip" android:layout_gravity="center_vertical" /> </FrameLayout> |