diff options
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/colors.xml | 3 | ||||
-rw-r--r-- | res/values/dimens.xml | 12 | ||||
-rw-r--r-- | res/values/styles.xml | 20 |
3 files changed, 26 insertions, 9 deletions
diff --git a/res/values/colors.xml b/res/values/colors.xml index 25f203dac..86ac9be5a 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -18,7 +18,7 @@ <!-- Primary text color in the Dialer --> <color name="dialtacts_primary_text_color">#333333</color> <!-- Secondary text color in the Dialer --> - <color name="dialtacts_secondary_text_color">#737373</color> + <color name="dialtacts_secondary_text_color">#636363</color> <color name="dialer_red_highlight_color">#ff1744</color> <color name="dialer_green_highlight_color">#00c853</color> @@ -100,4 +100,5 @@ <color name="floating_action_button_touch_tint">#80ffffff</color> + <color name="call_log_action_divider">#eeeeee</color> </resources> diff --git a/res/values/dimens.xml b/res/values/dimens.xml index d4a36cfb1..b36b9d67a 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -28,11 +28,12 @@ <dimen name="call_log_icon_margin">4dp</dimen> <dimen name="call_log_inner_margin">13dp</dimen> <dimen name="call_log_outer_margin">8dp</dimen> - <dimen name="call_log_start_margin">16dp</dimen> + <dimen name="call_log_start_margin">8dp</dimen> <dimen name="call_log_indent_margin">24dp</dimen> <dimen name="call_log_name_margin_bottom">2dp</dimen> <dimen name="call_log_vertical_padding">12dp</dimen> - <dimen name="call_log_list_item_height">56dip</dimen> + <dimen name="call_log_list_item_height">56dp</dimen> + <dimen name="call_log_list_item_info_margin_start">16dp</dimen> <dimen name="show_call_history_list_item_height">72dp</dimen> <!-- Size of contact photos in the call log and call details. --> @@ -103,11 +104,10 @@ <dimen name="search_box_elevation">3dp</dimen> <dimen name="call_log_action_height">48dp</dimen> + <dimen name="call_log_action_icon_margin_start">16dp</dimen> + <dimen name="call_log_action_icon_dimen">24dp</dimen> <dimen name="call_log_action_horizontal_padding">24dp</dimen> - <!-- Left-padding for the call log action buttons - ensures the buttons align with the text - to the right of the contact badge. Adjust when any of the following change: - call_log_action_horizontal_padding - call_log_list_contact_photo_size --> + <dimen name="call_log_actions_left_padding">64dp</dimen> <dimen name="call_log_primary_text_size">14sp</dimen> <dimen name="call_log_secondary_text_size">14sp</dimen> diff --git a/res/values/styles.xml b/res/values/styles.xml index 2cd4aa3e6..d41f334af 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -158,10 +158,18 @@ <item name="android:overScrollMode">always</item> </style> - <style name="CallLogActionsStyle"> + <style name="CallLogActionStyle"> <item name="android:layout_width">match_parent</item> <item name="android:layout_height">@dimen/call_log_action_height</item> - <item name="android:gravity">start|center_vertical</item> + <item name="android:background">@drawable/call_log_action_border</item> + <item name="android:foreground">?android:attr/selectableItemBackground</item> + <item name="android:orientation">horizontal</item> + <item name="android:gravity">center_vertical</item> + </style> + + <style name="CallLogActionTextStyle"> + <item name="android:layout_width">match_parent</item> + <item name="android:layout_height">wrap_content</item> <item name="android:paddingStart">@dimen/call_log_action_horizontal_padding</item> <item name="android:paddingEnd">@dimen/call_log_action_horizontal_padding</item> <item name="android:textColor">?attr/call_log_secondary_text_color</item> @@ -171,6 +179,14 @@ <item name="android:singleLine">true</item> </style> + <style name="CallLogActionIconStyle"> + <item name="android:layout_width">@dimen/call_log_action_icon_dimen</item> + <item name="android:layout_height">@dimen/call_log_action_icon_dimen</item> + <item name="android:layout_marginStart">@dimen/call_log_action_icon_margin_start</item> + <item name="android:tint">?attr/call_log_secondary_text_color</item> + <item name="android:importantForAccessibility">no</item> + </style> + <style name="DismissButtonStyle"> <item name="android:paddingLeft">@dimen/dismiss_button_padding_start</item> <item name="android:paddingRight">@dimen/dismiss_button_padding_end</item> |