diff options
author | Andrew Lee <anwlee@google.com> | 2015-10-12 18:53:56 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-10-12 18:53:56 +0000 |
commit | 7f3e03d5593e8f48c5462f4c385317e42b6ce796 (patch) | |
tree | 4bcb9e88c06a3b574d8cc5c736d89a1acd0602ca /res/values | |
parent | b34b9b34d3759c0b313d9fe08c8010a659807c62 (diff) | |
parent | bf9cca2ee005acd384ae25b80c3945a5fd1d5f20 (diff) |
Merge "Add footer actions to Call Details." into ub-contactsdialer-a-dev
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/dimens.xml | 3 | ||||
-rw-r--r-- | res/values/strings.xml | 31 | ||||
-rw-r--r-- | res/values/styles.xml | 9 |
3 files changed, 24 insertions, 19 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml index b38994b64..07891f4b4 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -16,6 +16,7 @@ --> <resources> <dimen name="button_horizontal_padding">16dp</dimen> + <dimen name="divider_line_thickness">2dp</dimen> <!-- Drag to remove view (in dp because it is used in conjunction with a statically @@ -47,6 +48,8 @@ <dimen name="call_detail_header_top_margin">20dp</dimen> <dimen name="call_detail_header_bottom_margin">9dp</dimen> <dimen name="call_detail_elevation">0.5dp</dimen> + <dimen name="call_detail_action_item_padding_horizontal">36dp</dimen> + <dimen name="call_detail_action_item_padding_vertical">16dp</dimen> <dimen name="transcription_top_margin">18dp</dimen> <dimen name="transcription_bottom_margin">18dp</dimen> diff --git a/res/values/strings.xml b/res/values/strings.xml index a4b64a94d..cd7ce8fa8 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -42,25 +42,24 @@ [CHAR LIMIT=NONE] --> <string name="callHistoryIconLabel">Call history</string> - <!-- Text for a menu item to report a call as having been incorrectly identified. - [CHAR LIMIT=30] --> - <string name="call_detail_menu_report">Report inaccurate number</string> + <!-- Text for a menu item to report a call as having been incorrectly identified. [CHAR LIMIT=48] --> + <string name="action_report_number">Report inaccurate number</string> - <!-- Option displayed in context menu to copy long pressed phone number to clipboard [CHAR LIMIT=64] --> - <string name="copy_number_text">Copy number to clipboard</string> + <!-- Option displayed in context menu to copy long pressed phone number. [CHAR LIMIT=48] --> + <string name="action_copy_number_text">Copy number</string> - <!-- Option displayed in context menu to copy long pressed voicemail transcription to clipboard [CHAR LIMIT=64] --> - <string name="copy_transcript_text">Copy transcription to clipboard</string> + <!-- Option displayed in context menu to copy long pressed voicemail transcription. [CHAR LIMIT=48] --> + <string name="copy_transcript_text">Copy transcription</string> - <!-- Menu item used to block a number from the call log [CHAR LIMIT=64] --> - <string name="call_log_block_number">Block number</string> + <!-- Label for action to block a number. [CHAR LIMIT=48] --> + <string name="action_block_number">Block number</string> <!-- Text for snackbar to undo blocking a number. [CHAR LIMIT=64] --> <string name="snackbar_number_blocked"> <xliff:g id="number" example="(555) 555-5555">%1$s</xliff:g> added to block list</string> - <!-- Menu item used to unblock a number from the call log [CHAR LIMIT=64]--> - <string name="call_log_unblock_number">Unblock number</string> + <!-- Label for action to unblock a number [CHAR LIMIT=48]--> + <string name="action_unblock_number">Unblock number</string> <!-- Text for snackbar to undo unblocking a number. [CHAR LIMIT=64] --> <string name="snackbar_number_unblocked"> @@ -73,11 +72,8 @@ <!-- Menu item in call details used to remove a call or voicemail from the call log. --> <string name="call_details_delete">Delete</string> - <!-- Menu item used to copy a number from the call log to the dialer so it can be edited before calling it --> - <string name="call_log_edit_number_before_call">Edit number before call</string> - - <!-- Menu item used to remove a single call from the call log --> - <string name="call_log_remove_from_call_log">Delete from call history</string> + <!-- Label for action to edit a number before calling it. [CHAR LIMIT=48] --> + <string name="action_edit_number_before_call">Edit number before call</string> <!-- Menu item used to remove all calls from the call log --> <string name="call_log_delete_all">Clear call history</string> @@ -260,9 +256,6 @@ [CHAR LIMIT=NONE] --> <string name="action_menu_dialpad_button">dial pad</string> - <!-- Menu item to copy something [CHAR_LIMIT=10] --> - <string name="menu_copy">Copy</string> - <!-- Menu item used to show only outgoing in the call log. [CHAR LIMIT=30] --> <string name="menu_show_outgoing_only">Show outgoing only</string> diff --git a/res/values/styles.xml b/res/values/styles.xml index f21d62f80..7c81e52fb 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -146,6 +146,15 @@ <item name="android:actionOverflowButtonStyle">@style/DialtactsActionBarOverflowWhite</item> </style> + <style name="CallDetailActionItemStyle"> + <item name="android:foreground">?android:attr/selectableItemBackground</item> + <item name="android:clickable">true</item> + <item name="android:paddingStart">@dimen/call_detail_action_item_padding_horizontal</item> + <item name="android:paddingEnd">@dimen/call_detail_action_item_padding_horizontal</item> + <item name="android:paddingTop">@dimen/call_detail_action_item_padding_vertical</item> + <item name="android:paddingBottom">@dimen/call_detail_action_item_padding_vertical</item> + </style> + <style name="DialtactsActionBarStyle" parent="@style/Widget.AppCompat.Light.ActionBar.Solid.Inverse"> <!-- Styles that require AppCompat compatibility, remember to update both sets --> |