summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2015-06-05 14:14:28 -0700
committerAndrew Lee <anwlee@google.com>2015-06-05 14:15:57 -0700
commit3ffb71b6dd1963f55972f4af1df279f7cd0ae91a (patch)
tree474c26a8069b4fb076b99fa3d236cdde757ca8db /res/layout
parentfeddb49ced2eb10328f9f3db52c950668472ffef (diff)
Add delete action to voicemail in call log.
+ Cleanup some asset and variable naming. Bug: 21239168 Change-Id: I4c99484bee1fcd300857cf44080c38e19a98cb5a
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/voicemail_playback_layout.xml24
1 files changed, 12 insertions, 12 deletions
diff --git a/res/layout/voicemail_playback_layout.xml b/res/layout/voicemail_playback_layout.xml
index 96feba648..97bb5f8a3 100644
--- a/res/layout/voicemail_playback_layout.xml
+++ b/res/layout/voicemail_playback_layout.xml
@@ -27,11 +27,6 @@
android:layout_height="80dp"
android:layout_marginTop="@dimen/call_detail_button_spacing">
- <!-- SeekBar left-right margin decreased from redlines 72dp by 8dp to account for
- half thumb width (thumb is 16dp).
- Vertically, SeekBar and rate buttons should be below centre, position achieved by
- making them centred but giving a difference between top and bottom padding,
- difference is currently 10dp. -->
<SeekBar
android:id="@+id/playback_seek"
android:layout_width="match_parent"
@@ -61,15 +56,12 @@
</RelativeLayout>
- <!-- Playback, speakerphone buttons. -->
- <LinearLayout
- android:id="@+id/buttons_linear_layout"
+ <LinearLayout android:id="@+id/buttons_linear_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
- <ImageButton
- android:id="@+id/playback_start_stop"
+ <ImageButton android:id="@+id/playback_start_stop"
android:layout_width="match_parent"
android:layout_height="58dp"
android:layout_marginEnd="@dimen/call_detail_button_spacing"
@@ -78,8 +70,7 @@
android:src="@drawable/ic_hold_pause"
android:contentDescription="@string/voicemail_play_start_pause" />
- <ImageButton
- android:id="@+id/playback_speakerphone"
+ <ImageButton android:id="@+id/playback_speakerphone"
android:layout_width="match_parent"
android:layout_height="58dp"
android:layout_weight="1"
@@ -87,6 +78,15 @@
android:src="@drawable/ic_speakerphone_on"
android:contentDescription="@string/description_playback_speakerphone" />
+ <ImageButton android:id="@+id/delete_voicemail"
+ android:layout_width="match_parent"
+ android:layout_height="58dp"
+ android:layout_weight="1"
+ android:background="?android:attr/selectableItemBackground"
+ android:src="@drawable/ic_delete_24dp"
+ android:tint="@color/voicemail_playback_icon_tint"
+ android:contentDescription="@string/recentCalls_trashVoicemail" />
+
</LinearLayout>
</LinearLayout>