From b2687dd09eef2fc1aaf31ea4a3edf523677108a8 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 6 Jun 2014 14:13:21 -0700 Subject: UI improvements on tabs, recent expanded card, speed dial grid. - Changed tab weight from bold to medium. - Darkened the lists background by ~2% black to improve contrast for the expanded call log items. - Fixed colors on the expanded call log item, back to white. - Some cleanup to store constant properties as member variables in the CallLogAdapter. - Fixed vertical margins on the speed dial favorite square views. Bug: 15470880 Change-Id: Ia2583f527e1fc91af08e049312eaa724176b761d --- res/layout/phone_favorite_tile_view.xml | 5 ++--- res/values/colors.xml | 3 ++- res/values/dimens.xml | 2 +- res/values/styles.xml | 3 +-- src/com/android/dialer/calllog/CallLogAdapter.java | 16 ++++++++++------ 5 files changed, 16 insertions(+), 13 deletions(-) diff --git a/res/layout/phone_favorite_tile_view.xml b/res/layout/phone_favorite_tile_view.xml index 1e6b999b1..d34dc7a73 100644 --- a/res/layout/phone_favorite_tile_view.xml +++ b/res/layout/phone_favorite_tile_view.xml @@ -17,7 +17,8 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/contact_tile" class="com.android.dialer.list.PhoneFavoriteSquareTileView" - android:paddingEnd="@dimen/contact_tile_divider_width"> + android:paddingEnd="@dimen/contact_tile_divider_width" + android:paddingBottom="@dimen/contact_tile_divider_width"> #660099cc - #fbfbfb + #f6f6f6 @color/background_dialer_light @@ -81,6 +81,7 @@ #16000000 + #ffffff #1dc7db diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 4db5ae41b..e5d83b003 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -51,7 +51,7 @@ 76% 12dp 9dp - 1dp + 2dp 0dp 1dp diff --git a/res/values/styles.xml b/res/values/styles.xml index 96ebe903e..419f0f88e 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -141,8 +141,7 @@ parent="android:style/Widget.Quantum.Light.ActionBar.TabText"> @color/tab_text_color @dimen/tab_text_size - @string/tab_font_family - bold + "sans-serif-medium"