Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 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 | |
Yorke Lee | 8cd9423 | 2014-07-23 14:05:31 -0700 | [diff] [blame] | 17 | <LinearLayout |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="wrap_content" |
Andrew Lee | d88b985 | 2015-06-25 10:43:21 -0700 | [diff] [blame] | 21 | android:layout_marginStart="64dp" |
| 22 | android:layout_marginEnd="24dp" |
Yorke Lee | 8cd9423 | 2014-07-23 14:05:31 -0700 | [diff] [blame] | 23 | android:orientation="vertical" |
Andrew Lee | c2289b3 | 2015-05-14 15:41:24 -0700 | [diff] [blame] | 24 | android:background="@color/background_dialer_call_log_list_item"> |
| 25 | |
Andrew Lee | d88b985 | 2015-06-25 10:43:21 -0700 | [diff] [blame] | 26 | <TextView |
| 27 | android:id="@+id/playback_state_text" |
| 28 | android:layout_height="wrap_content" |
Andrew Lee | c2289b3 | 2015-05-14 15:41:24 -0700 | [diff] [blame] | 29 | android:layout_width="match_parent" |
Andrew Lee | d88b985 | 2015-06-25 10:43:21 -0700 | [diff] [blame] | 30 | android:gravity="center" |
| 31 | android:textSize="14sp" /> |
Andrew Lee | c2289b3 | 2015-05-14 15:41:24 -0700 | [diff] [blame] | 32 | |
Andrew Lee | d88b985 | 2015-06-25 10:43:21 -0700 | [diff] [blame] | 33 | <LinearLayout |
| 34 | android:layout_width="match_parent" |
| 35 | android:layout_height="wrap_content" |
| 36 | android:orientation="horizontal" |
Sarmad Hashmi | 1a4a0fc | 2016-03-03 14:10:07 -0800 | [diff] [blame^] | 37 | android:gravity="center_vertical" |
| 38 | android:paddingTop="@dimen/voicemail_playback_top_padding"> |
Andrew Lee | c2289b3 | 2015-05-14 15:41:24 -0700 | [diff] [blame] | 39 | |
| 40 | <TextView |
| 41 | android:id="@+id/playback_position_text" |
| 42 | android:layout_height="wrap_content" |
| 43 | android:layout_width="wrap_content" |
| 44 | android:textSize="14sp" |
Nancy Chen | 16c7f81 | 2015-10-27 16:43:02 -0700 | [diff] [blame] | 45 | android:importantForAccessibility="no" /> |
Andrew Lee | c2289b3 | 2015-05-14 15:41:24 -0700 | [diff] [blame] | 46 | |
Sarmad Hashmi | 1a4a0fc | 2016-03-03 14:10:07 -0800 | [diff] [blame^] | 47 | <SeekBar |
| 48 | android:id="@+id/playback_seek" |
Andrew Lee | d88b985 | 2015-06-25 10:43:21 -0700 | [diff] [blame] | 49 | android:layout_width="0dp" |
Andrew Lee | d88b985 | 2015-06-25 10:43:21 -0700 | [diff] [blame] | 50 | android:layout_weight="1" |
Sarmad Hashmi | 1a4a0fc | 2016-03-03 14:10:07 -0800 | [diff] [blame^] | 51 | android:layout_height="wrap_content" |
| 52 | android:progressDrawable="@drawable/seekbar_drawable" |
| 53 | android:thumb="@drawable/ic_voicemail_seek_handle" |
| 54 | android:progress="0" |
| 55 | android:max="0" |
| 56 | android:contentDescription="@string/description_playback_seek" /> |
Andrew Lee | c2289b3 | 2015-05-14 15:41:24 -0700 | [diff] [blame] | 57 | |
Sarmad Hashmi | 1a4a0fc | 2016-03-03 14:10:07 -0800 | [diff] [blame^] | 58 | <TextView |
| 59 | android:id="@+id/total_duration_text" |
| 60 | android:layout_height="wrap_content" |
| 61 | android:layout_width="wrap_content" |
| 62 | android:textSize="14sp" |
| 63 | android:importantForAccessibility="no" /> |
Andrew Lee | d88b985 | 2015-06-25 10:43:21 -0700 | [diff] [blame] | 64 | |
Sarmad Hashmi | 1a4a0fc | 2016-03-03 14:10:07 -0800 | [diff] [blame^] | 65 | </LinearLayout> |
Andrew Lee | d88b985 | 2015-06-25 10:43:21 -0700 | [diff] [blame] | 66 | |
Sarmad Hashmi | 1a4a0fc | 2016-03-03 14:10:07 -0800 | [diff] [blame^] | 67 | <LinearLayout |
| 68 | android:layout_width="match_parent" |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 69 | android:layout_height="wrap_content" |
Sarmad Hashmi | 1a4a0fc | 2016-03-03 14:10:07 -0800 | [diff] [blame^] | 70 | android:orientation="horizontal" |
| 71 | android:gravity="center"> |
| 72 | |
| 73 | <Space |
| 74 | android:layout_width="0dp" |
| 75 | android:layout_height="match_parent" |
| 76 | android:layout_weight="1"/> |
| 77 | |
| 78 | <ImageButton android:id="@+id/playback_speakerphone" |
| 79 | style="@style/VoicemailPlaybackLayoutButtonStyle" |
| 80 | android:src="@drawable/ic_volume_down_24dp" |
| 81 | android:tint="@color/voicemail_icon_tint" |
| 82 | android:contentDescription="@string/description_playback_speakerphone" /> |
| 83 | |
| 84 | <Space |
| 85 | android:layout_width="0dp" |
| 86 | android:layout_height="match_parent" |
| 87 | android:layout_weight="1"/> |
| 88 | |
| 89 | <ImageButton android:id="@+id/playback_start_stop" |
| 90 | style="@style/VoicemailPlaybackLayoutButtonStyle" |
| 91 | android:src="@drawable/ic_play_arrow" |
| 92 | android:contentDescription="@string/voicemail_play_start_pause" /> |
| 93 | |
| 94 | <Space |
| 95 | android:layout_width="0dp" |
| 96 | android:layout_height="match_parent" |
| 97 | android:layout_weight="1"/> |
| 98 | |
| 99 | <ImageButton android:id="@+id/delete_voicemail" |
| 100 | style="@style/VoicemailPlaybackLayoutButtonStyle" |
| 101 | android:src="@drawable/ic_delete_24dp" |
| 102 | android:tint="@color/voicemail_icon_tint" |
| 103 | android:contentDescription="@string/call_log_trash_voicemail" /> |
| 104 | |
| 105 | <Space |
| 106 | android:layout_width="0dp" |
| 107 | android:layout_height="match_parent" |
| 108 | android:layout_weight="1"/> |
| 109 | |
| 110 | <ImageButton android:id="@+id/archive_voicemail" |
| 111 | style="@style/VoicemailPlaybackLayoutButtonStyle" |
| 112 | android:src="@drawable/ic_archive_white_24dp" |
| 113 | android:tint="@color/voicemail_icon_tint" |
| 114 | android:contentDescription="@string/call_log_archive_voicemail" /> |
| 115 | |
| 116 | <Space |
| 117 | android:layout_width="0dp" |
| 118 | android:layout_height="match_parent" |
| 119 | android:layout_weight="1"/> |
Andrew Lee | 3ffb71b | 2015-06-05 14:14:28 -0700 | [diff] [blame] | 120 | |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 121 | </LinearLayout> |
Andrew Lee | c2289b3 | 2015-05-14 15:41:24 -0700 | [diff] [blame] | 122 | |
Yorke Lee | 8cd9423 | 2014-07-23 14:05:31 -0700 | [diff] [blame] | 123 | </LinearLayout> |