From 85415fba82acabacef48e3c85355fa18e1f91f19 Mon Sep 17 00:00:00 2001 From: uabdullah Date: Mon, 13 Nov 2017 15:12:56 -0800 Subject: Add seekbar to Voicemail Media Player Adds the UX support for showing the seekbar in the NUI Media player. It also shows a starting and total duration text as well, though as of right now it's a static value and will be updated in a follow up CL. Bug: 64882313,68382421,69268144 Test: Unit tests PiperOrigin-RevId: 175595293 Change-Id: I14440599d52352c213c7513dd2d0a8aef2f51bfe --- .../listui/res/layout/new_voicemail_entry.xml | 1 - .../layout/new_voicemail_media_player_layout.xml | 88 +++++++++++++++++----- .../dialer/voicemail/listui/res/values/dimens.xml | 4 + .../dialer/voicemail/listui/res/values/strings.xml | 7 ++ 4 files changed, 81 insertions(+), 19 deletions(-) (limited to 'java/com') diff --git a/java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_entry.xml b/java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_entry.xml index 78d2785e9..95769fe32 100644 --- a/java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_entry.xml +++ b/java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_entry.xml @@ -97,7 +97,6 @@ android:layout_width="@dimen/call_log_entry_menu_button_size" android:layout_height="@dimen/call_log_entry_menu_button_size" android:layout_alignParentEnd="true" - android:layout_centerVertical="true" android:scaleType="center" android:src="@drawable/quantum_ic_more_vert_vd_theme_24" android:tint="@color/dialer_secondary_text_color"/> diff --git a/java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_media_player_layout.xml b/java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_media_player_layout.xml index 762782fb5..a21b6aa6c 100644 --- a/java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_media_player_layout.xml +++ b/java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_media_player_layout.xml @@ -15,24 +15,76 @@ ~ limitations under the License --> - - -