diff options
author | Andrew Lee <anwlee@google.com> | 2014-06-06 14:13:21 -0700 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2014-06-06 14:13:21 -0700 |
commit | b2687dd09eef2fc1aaf31ea4a3edf523677108a8 (patch) | |
tree | e5d8ff5b28356008ad749dfd2089d75bc19804b1 /res | |
parent | 97c57ccec07ac91bacb71699b10dcdd24b750c3c (diff) |
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
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/phone_favorite_tile_view.xml | 5 | ||||
-rw-r--r-- | res/values/colors.xml | 3 | ||||
-rw-r--r-- | res/values/dimens.xml | 2 | ||||
-rw-r--r-- | res/values/styles.xml | 3 |
4 files changed, 6 insertions, 7 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"> <RelativeLayout android:id="@+id/contact_favorite_card" @@ -50,8 +51,6 @@ <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingLeft="@dimen/contact_tile_text_side_padding" - android:paddingRight="@dimen/contact_tile_text_side_padding" android:paddingStart="@dimen/contact_tile_text_side_padding" android:paddingEnd="@dimen/contact_tile_text_side_padding" android:paddingBottom="@dimen/contact_tile_text_bottom_padding" diff --git a/res/values/colors.xml b/res/values/colors.xml index a5ad64167..b418897da 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -40,7 +40,7 @@ <color name="item_selected">#660099cc</color> <!-- Background color of new dialer activity --> - <color name="background_dialer_light">#fbfbfb</color> + <color name="background_dialer_light">#f6f6f6</color> <!-- Background color of dialer list items (contacts, call log entries) --> <color name="background_dialer_list_items">@color/background_dialer_light</color> @@ -81,6 +81,7 @@ <!-- Color of the bottom border below the contacts grid on the main dialer screen. --> <color name="contacts_grid_bottom_border_color">#16000000</color> + <color name="call_log_expanded_background_color">#ffffff</color> <!-- Color of actions in expanded call log entries. This text color represents actions such as call back, play voicemail, etc. --> <color name="call_log_action_text">#1dc7db</color> 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 @@ <item name="contact_tile_height_to_width_ratio" type="dimen">76%</item> <dimen name="contact_tile_text_side_padding">12dp</dimen> <dimen name="contact_tile_text_bottom_padding">9dp</dimen> - <dimen name="favorites_row_top_padding">1dp</dimen> + <dimen name="favorites_row_top_padding">2dp</dimen> <dimen name="favorites_row_bottom_padding">0dp</dimen> <dimen name="favorites_row_start_padding">1dp</dimen> 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"> <item name="android:textColor">@color/tab_text_color</item> <item name="android:textSize">@dimen/tab_text_size</item> - <item name="android:fontFamily">@string/tab_font_family</item> - <item name="android:textStyle">bold</item> + <item name="android:fontFamily">"sans-serif-medium"</item> </style> <style name="ListViewStyle" parent="@android:style/Widget.Quantum.Light.ListView"> |