summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2015-05-26 16:14:31 -0700
committerAndrew Lee <anwlee@google.com>2015-05-27 16:38:54 -0700
commit58eaabcc31e23fd4c071ad911b96da6eea4abc28 (patch)
treefcbfef6b072f8442432e39f1995ae18f2f34332e /res
parenta56893c156b997d796cd8343f99acd5d4198a280 (diff)
Refactor Voicemail Playback into standalone view.
+ Substitutes the existing playback widget in CallDetailActivity, although the plan is to move this to the call log shortly. + Convert the widget from a fragment into a layout. This allows us to more easily create multiple instances of the voicemail widget in the same view, as we intend to do in the call log. + Shift UI-related logic from Presenter to the Layout. + Fix janky seeking, so that it now works correctly consistently rather than sporadically, and doesn't need to buffer again. - Remove the VariableSpeed player formerly used in the Presenter. We don't use this functionality anymore, and this allows us to directly used the framework MediaPlayer (instead of a custom legacy proxy). Bug: 21170557 Bug: 20693172 Change-Id: Ia34f459df10e43763b32fdb0954f83e882664231
Diffstat (limited to 'res')
-rw-r--r--res/layout/call_detail.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/layout/call_detail.xml b/res/layout/call_detail.xml
index c07785159..5d1607edf 100644
--- a/res/layout/call_detail.xml
+++ b/res/layout/call_detail.xml
@@ -87,6 +87,12 @@
</LinearLayout>
</LinearLayout>
+ <com.android.dialer.voicemail.VoicemailPlaybackLayout
+ android:id="@+id/voicemail_playback_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:visibility="gone" />
+
<!--
The list view is under everything.
It contains a first header element which is hidden under the controls UI.