1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<LinearLayout
18  xmlns:android="http://schemas.android.com/apk/res/android"
19  android:layout_width="match_parent"
20  android:layout_height="wrap_content"
21  android:layout_marginStart="64dp"
22  android:layout_marginEnd="24dp"
23  android:background="?android:attr/colorBackgroundFloating"
24  android:orientation="vertical">
25
26  <TextView
27    android:id="@+id/playback_state_text"
28    android:layout_width="match_parent"
29    android:layout_height="wrap_content"
30    android:gravity="center"
31    style="@style/Dialer.TextAppearance.Secondary"/>
32
33  <LinearLayout
34    android:layout_width="match_parent"
35    android:layout_height="wrap_content"
36    android:paddingTop="@dimen/voicemail_playback_top_padding"
37    android:gravity="center_vertical"
38    android:orientation="horizontal">
39
40    <TextView
41      android:id="@+id/playback_position_text"
42      android:layout_width="wrap_content"
43      android:layout_height="wrap_content"
44      android:importantForAccessibility="no"
45      style="@style/Dialer.TextAppearance.Secondary"/>
46
47    <SeekBar
48      android:id="@+id/playback_seek"
49      android:layout_width="0dp"
50      android:layout_height="wrap_content"
51      android:layout_weight="1"
52      android:contentDescription="@string/description_playback_seek"
53      android:max="0"
54      android:progress="0"
55      android:progressDrawable="@drawable/seekbar_drawable"
56      android:thumb="@drawable/ic_voicemail_seek_handle"/>
57
58    <TextView
59      android:id="@+id/total_duration_text"
60      android:layout_width="wrap_content"
61      android:layout_height="wrap_content"
62      android:importantForAccessibility="no"
63      style="@style/Dialer.TextAppearance.Secondary"/>
64
65  </LinearLayout>
66
67  <LinearLayout
68    android:layout_width="match_parent"
69    android:layout_height="wrap_content"
70    android:gravity="center"
71    android:orientation="horizontal">
72
73    <Space
74      android:layout_width="0dp"
75      android:layout_height="match_parent"
76      android:layout_weight="1"/>
77
78    <ImageButton
79      android:id="@+id/playback_speakerphone"
80      style="@style/VoicemailPlaybackLayoutButtonStyle"
81      android:contentDescription="@string/description_playback_speakerphone"
82      android:src="@drawable/quantum_ic_volume_down_white_24"
83      android:tint="?colorIcon"/>
84
85    <Space
86      android:layout_width="0dp"
87      android:layout_height="match_parent"
88      android:layout_weight="1"/>
89
90    <ImageButton
91      android:id="@+id/playback_start_stop"
92      style="@style/VoicemailPlaybackLayoutButtonStyle"
93      android:contentDescription="@string/voicemail_play_start_pause"
94      android:src="@drawable/ic_play_arrow"/>
95
96    <Space
97      android:layout_width="0dp"
98      android:layout_height="match_parent"
99      android:layout_weight="1"/>
100
101    <ImageButton
102      android:id="@+id/delete_voicemail"
103      style="@style/VoicemailPlaybackLayoutButtonStyle"
104      android:contentDescription="@string/call_log_trash_voicemail"
105      android:src="@drawable/quantum_ic_delete_white_24"
106      android:tint="?colorIcon"/>
107
108    <Space
109      android:layout_width="0dp"
110      android:layout_height="match_parent"
111      android:layout_weight="1"/>
112
113  </LinearLayout>
114
115</LinearLayout>
116