From 4fdf594962b3928c6497b471dbb1ee7be56e18ef Mon Sep 17 00:00:00 2001 From: Christine Chen Date: Tue, 24 Sep 2013 17:42:32 -0700 Subject: Add no favorite card to the Dialer Bug: 10862541 Change-Id: I7299d38dcc63fa2a37e61949ebfcc794c3471c70 --- res/drawable-hdpi/no_favorites_banner.png | Bin 0 -> 7554 bytes res/drawable-mdpi/no_favorites_banner.png | Bin 0 -> 4776 bytes res/drawable-xhdpi/no_favorites_banner.png | Bin 0 -> 10881 bytes res/drawable-xxhdpi/no_favorites_banner.png | Bin 0 -> 15409 bytes res/layout/dialtacts_activity.xml | 5 ++++ res/layout/phone_favorites_fragment.xml | 35 +++++++++++++---------- res/layout/phone_no_favorites.xml | 42 ++++++++++++++++++++++++---- res/values/colors.xml | 5 ++++ 8 files changed, 68 insertions(+), 19 deletions(-) create mode 100644 res/drawable-hdpi/no_favorites_banner.png create mode 100644 res/drawable-mdpi/no_favorites_banner.png create mode 100644 res/drawable-xhdpi/no_favorites_banner.png create mode 100644 res/drawable-xxhdpi/no_favorites_banner.png (limited to 'res') diff --git a/res/drawable-hdpi/no_favorites_banner.png b/res/drawable-hdpi/no_favorites_banner.png new file mode 100644 index 000000000..5ab45ab46 Binary files /dev/null and b/res/drawable-hdpi/no_favorites_banner.png differ diff --git a/res/drawable-mdpi/no_favorites_banner.png b/res/drawable-mdpi/no_favorites_banner.png new file mode 100644 index 000000000..808d573e8 Binary files /dev/null and b/res/drawable-mdpi/no_favorites_banner.png differ diff --git a/res/drawable-xhdpi/no_favorites_banner.png b/res/drawable-xhdpi/no_favorites_banner.png new file mode 100644 index 000000000..da71882c3 Binary files /dev/null and b/res/drawable-xhdpi/no_favorites_banner.png differ diff --git a/res/drawable-xxhdpi/no_favorites_banner.png b/res/drawable-xxhdpi/no_favorites_banner.png new file mode 100644 index 000000000..518e8efbd Binary files /dev/null and b/res/drawable-xxhdpi/no_favorites_banner.png differ diff --git a/res/layout/dialtacts_activity.xml b/res/layout/dialtacts_activity.xml index 9d63514c1..fe1e644b0 100644 --- a/res/layout/dialtacts_activity.xml +++ b/res/layout/dialtacts_activity.xml @@ -63,6 +63,11 @@ android:contentDescription="@string/description_start_voice_search" android:background="?android:attr/selectableItemBackground" /> + - + + android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true"> + - - - + + + + diff --git a/res/layout/phone_no_favorites.xml b/res/layout/phone_no_favorites.xml index 9fa5d4781..e0635de2c 100644 --- a/res/layout/phone_no_favorites.xml +++ b/res/layout/phone_no_favorites.xml @@ -14,21 +14,53 @@ limitations under the License. --> - + + + + + + + - + diff --git a/res/values/colors.xml b/res/values/colors.xml index e64ea4ca9..3c3d41f53 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -67,4 +67,9 @@ #4d4d4d + + + #ffffff + + #a9a9a9 -- cgit v1.2.3