blob: 97bb5f8a326fa91dbda0fca30f629edd027f7e17 [file] [log] [blame]
Chiao Cheng9d4f3b22012-09-05 16:00:16 -07001<?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
Yorke Lee8cd94232014-07-23 14:05:31 -070017<LinearLayout
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070018 xmlns:android="http://schemas.android.com/apk/res/android"
19 android:layout_width="match_parent"
20 android:layout_height="wrap_content"
Yorke Lee8cd94232014-07-23 14:05:31 -070021 android:orientation="vertical"
Andrew Leec2289b32015-05-14 15:41:24 -070022 android:background="@color/background_dialer_call_log_list_item">
23
24 <RelativeLayout
25 android:id="@+id/seek_container"
26 android:layout_width="match_parent"
27 android:layout_height="80dp"
28 android:layout_marginTop="@dimen/call_detail_button_spacing">
29
Andrew Leec2289b32015-05-14 15:41:24 -070030 <SeekBar
31 android:id="@+id/playback_seek"
32 android:layout_width="match_parent"
33 android:layout_height="wrap_content"
34 android:progressDrawable="@drawable/seekbar_drawable"
35 android:thumb="@drawable/ic_voicemail_seek_handle"
36 android:thumbOffset="8dp"
37 android:progress="0"
38 android:paddingStart="8dp"
39 android:paddingEnd="8dp"
40 android:paddingTop="30dp"
41 android:paddingBottom="20dp"
42 android:layout_marginEnd="64dp"
43 android:layout_marginStart="64dp"
44 android:max="0"
45 android:layout_centerVertical="true"
46 android:contentDescription="@string/description_playback_seek" />
47
48 <TextView
49 android:id="@+id/playback_position_text"
50 android:layout_height="wrap_content"
51 android:layout_width="wrap_content"
52 android:textSize="14sp"
53 android:layout_alignParentTop="true"
54 android:layout_centerHorizontal="true"
55 android:layout_marginTop="10dp" />
56
57 </RelativeLayout>
58
Andrew Lee3ffb71b2015-06-05 14:14:28 -070059 <LinearLayout android:id="@+id/buttons_linear_layout"
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070060 android:layout_width="match_parent"
61 android:layout_height="wrap_content"
Andrew Leec2289b32015-05-14 15:41:24 -070062 android:orientation="horizontal">
63
Andrew Lee3ffb71b2015-06-05 14:14:28 -070064 <ImageButton android:id="@+id/playback_start_stop"
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070065 android:layout_width="match_parent"
Yorke Lee8cd94232014-07-23 14:05:31 -070066 android:layout_height="58dp"
Fabrice Di Meglioc341db02013-04-03 21:11:37 -070067 android:layout_marginEnd="@dimen/call_detail_button_spacing"
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070068 android:layout_weight="1"
Yorke Lee8cd94232014-07-23 14:05:31 -070069 android:background="?android:attr/selectableItemBackground"
70 android:src="@drawable/ic_hold_pause"
Andrew Leec2289b32015-05-14 15:41:24 -070071 android:contentDescription="@string/voicemail_play_start_pause" />
72
Andrew Lee3ffb71b2015-06-05 14:14:28 -070073 <ImageButton android:id="@+id/playback_speakerphone"
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070074 android:layout_width="match_parent"
Andrew Leec2289b32015-05-14 15:41:24 -070075 android:layout_height="58dp"
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070076 android:layout_weight="1"
Yorke Lee8cd94232014-07-23 14:05:31 -070077 android:background="?android:attr/selectableItemBackground"
78 android:src="@drawable/ic_speakerphone_on"
Andrew Leec2289b32015-05-14 15:41:24 -070079 android:contentDescription="@string/description_playback_speakerphone" />
80
Andrew Lee3ffb71b2015-06-05 14:14:28 -070081 <ImageButton android:id="@+id/delete_voicemail"
82 android:layout_width="match_parent"
83 android:layout_height="58dp"
84 android:layout_weight="1"
85 android:background="?android:attr/selectableItemBackground"
86 android:src="@drawable/ic_delete_24dp"
87 android:tint="@color/voicemail_playback_icon_tint"
88 android:contentDescription="@string/recentCalls_trashVoicemail" />
89
Chiao Cheng9d4f3b22012-09-05 16:00:16 -070090 </LinearLayout>
Andrew Leec2289b32015-05-14 15:41:24 -070091
Yorke Lee8cd94232014-07-23 14:05:31 -070092</LinearLayout>