From a482522fb8fe4e9959c749f4ec616ae59cf06b28 Mon Sep 17 00:00:00 2001 From: Brandon Maxwell Date: Mon, 12 Oct 2015 12:09:12 -0700 Subject: Moving call type/location for voicemail Combination of two related bugs. 22168682: In the voicemail call log, moved call type/location to below the call action button and removed the call details button as it didn't have any additional information. 22514722: Modified spacing and text sizes for call log. Moved voicemail transcription below call date as in mocks. Bug:22168682,22514722 Change-Id: I557761b815604fee4e6b61f4670608b8fa90d3a7 --- res/layout/call_detail_header.xml | 4 ++-- res/layout/call_detail_history_item.xml | 4 ++-- res/layout/call_log_list_item.xml | 35 ++++++++++++++++--------------- res/layout/call_log_list_item_actions.xml | 20 ++++++++++++++---- res/layout/voicemail_promo_card.xml | 2 +- res/values/colors.xml | 14 ++++++++++++- res/values/dimens.xml | 12 ++++++----- res/values/styles.xml | 13 ++++++++---- 8 files changed, 68 insertions(+), 36 deletions(-) (limited to 'res') diff --git a/res/layout/call_detail_header.xml b/res/layout/call_detail_header.xml index 5931445e4..6eceb80ee 100644 --- a/res/layout/call_detail_header.xml +++ b/res/layout/call_detail_header.xml @@ -59,7 +59,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="?attr/call_log_secondary_text_color" - android:textSize="@dimen/call_log_secondary_text_size" + android:textSize="@dimen/call_log_detail_text_size" android:layout_marginBottom="1dp" android:singleLine="true" /> @@ -68,7 +68,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="?attr/call_log_secondary_text_color" - android:textSize="@dimen/call_log_secondary_text_size" + android:textSize="@dimen/call_log_detail_text_size" android:singleLine="true" android:visibility="gone" /> diff --git a/res/layout/call_detail_history_item.xml b/res/layout/call_detail_history_item.xml index cbe844234..10d9605a1 100644 --- a/res/layout/call_detail_history_item.xml +++ b/res/layout/call_detail_history_item.xml @@ -46,11 +46,11 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="?attr/call_log_secondary_text_color" - android:textSize="@dimen/call_log_secondary_text_size" /> + android:textSize="@dimen/call_log_detail_text_size" /> + android:textSize="@dimen/call_log_detail_text_size" /> diff --git a/res/layout/call_log_list_item.xml b/res/layout/call_log_list_item.xml index ec512b67f..95de2680c 100644 --- a/res/layout/call_log_list_item.xml +++ b/res/layout/call_log_list_item.xml @@ -30,8 +30,8 @@ android:layout_marginStart="@dimen/call_log_start_margin" android:layout_marginEnd="@dimen/call_log_outer_margin" android:fontFamily="sans-serif-medium" - android:textColor="?attr/call_log_secondary_text_color" - android:textSize="@dimen/call_log_secondary_text_size" + android:textColor="@color/call_log_day_group_heading_color" + android:textSize="@dimen/call_log_day_group_heading_size" android:paddingTop="@dimen/call_log_day_group_padding_top" android:paddingBottom="@dimen/call_log_day_group_padding_bottom" /> @@ -83,21 +83,10 @@ android:layout_height="wrap_content" android:layout_marginBottom="@dimen/call_log_name_margin_bottom" android:layout_marginEnd="@dimen/call_log_icon_margin" - android:textColor="?attr/call_log_primary_text_color" + android:textColor="@color/call_log_primary_color" android:textSize="@dimen/call_log_primary_text_size" android:singleLine="true" /> - - @@ -130,10 +119,22 @@ android:layout_height="wrap_content" android:layout_marginEnd="@dimen/call_log_icon_margin" android:textColor="?attr/call_log_secondary_text_color" - android:textSize="@dimen/call_log_secondary_text_size" + android:textSize="@dimen/call_log_detail_text_size" android:visibility="gone" android:singleLine="true" /> + + @@ -35,16 +36,27 @@ - + + + + + diff --git a/res/layout/voicemail_promo_card.xml b/res/layout/voicemail_promo_card.xml index 891f09693..ba4ac59a7 100644 --- a/res/layout/voicemail_promo_card.xml +++ b/res/layout/voicemail_promo_card.xml @@ -57,7 +57,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="@color/background_dialer_white" - android:textSize="@dimen/call_log_secondary_text_size" + android:textSize="@dimen/call_log_detail_text_size" android:text="@string/visual_voicemail_text" android:lineSpacingExtra="@dimen/promo_card_line_spacing" android:singleLine="false"/> diff --git a/res/values/colors.xml b/res/values/colors.xml index d0f7ed000..8b7b1502f 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -33,8 +33,20 @@ #ffffff #eee + + #8a000000 + + #de000000 + + #8a000000 + + #de000000 - #b3000000 + #b3000000 + + #8a000000 + + #de000000 @color/call_log_icon_tint @color/dialer_red_highlight_color diff --git a/res/values/dimens.xml b/res/values/dimens.xml index d3c52a313..18f33d5f2 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -108,17 +108,19 @@ 16dp 3dp - 48dp 16dp 24dp 24dp 64dp - 14sp - 14sp - 12sp + 8dp + 8dp + 16sp + 12sp + 14sp + 14sp - 44dp + 48dp 15dp 9dp diff --git a/res/values/styles.xml b/res/values/styles.xml index 3d8644281..7828a20f1 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -222,14 +222,19 @@ wrap_content @dimen/call_log_action_horizontal_padding @dimen/call_log_action_horizontal_padding - ?attr/call_log_secondary_text_color - @dimen/call_log_list_item_actions_text_size - "sans-serif-medium" + @color/call_log_action_color + @dimen/call_log_primary_text_size + "sans-serif" true true no + +