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" |
| 37 | android:gravity="top"> |
Andrew Lee | c2289b3 | 2015-05-14 15:41:24 -0700 | [diff] [blame] | 38 | |
| 39 | <TextView |
| 40 | android:id="@+id/playback_position_text" |
| 41 | android:layout_height="wrap_content" |
| 42 | android:layout_width="wrap_content" |
| 43 | android:textSize="14sp" |
Nancy Chen | 16c7f81 | 2015-10-27 16:43:02 -0700 | [diff] [blame^] | 44 | android:paddingTop="@dimen/voicemail_playback_top_padding" |
| 45 | android:importantForAccessibility="no" /> |
Andrew Lee | c2289b3 | 2015-05-14 15:41:24 -0700 | [diff] [blame] | 46 | |
Andrew Lee | d88b985 | 2015-06-25 10:43:21 -0700 | [diff] [blame] | 47 | <LinearLayout |
| 48 | android:layout_width="0dp" |
| 49 | android:layout_height="wrap_content" |
| 50 | android:layout_weight="1" |
| 51 | android:orientation="vertical" |
| 52 | android:layout_marginTop="4dp"> |
Andrew Lee | c2289b3 | 2015-05-14 15:41:24 -0700 | [diff] [blame] | 53 | |
Andrew Lee | d88b985 | 2015-06-25 10:43:21 -0700 | [diff] [blame] | 54 | <SeekBar |
| 55 | android:id="@+id/playback_seek" |
| 56 | android:layout_width="match_parent" |
| 57 | android:layout_height="wrap_content" |
| 58 | android:paddingBottom="8dp" |
| 59 | android:paddingTop="@dimen/voicemail_playback_top_padding" |
| 60 | android:progressDrawable="@drawable/seekbar_drawable" |
| 61 | android:thumb="@drawable/ic_voicemail_seek_handle" |
| 62 | android:progress="0" |
| 63 | android:max="0" |
| 64 | android:contentDescription="@string/description_playback_seek" /> |
| 65 | |
| 66 | <LinearLayout |
| 67 | android:layout_width="match_parent" |
| 68 | android:layout_height="wrap_content" |
| 69 | android:orientation="horizontal" |
| 70 | android:gravity="center" |
| 71 | android:padding="8dp"> |
| 72 | |
| 73 | <ImageButton android:id="@+id/playback_speakerphone" |
| 74 | style="@style/VoicemailPlaybackLayoutButtonStyle" |
Andrew Lee | bcc9493 | 2015-09-08 17:00:53 -0700 | [diff] [blame] | 75 | android:src="@drawable/ic_volume_down_24dp" |
Andrew Lee | d88b985 | 2015-06-25 10:43:21 -0700 | [diff] [blame] | 76 | android:tint="@color/voicemail_icon_tint" |
| 77 | android:contentDescription="@string/description_playback_speakerphone" /> |
| 78 | |
| 79 | <Space |
| 80 | android:layout_width="0dp" |
| 81 | android:layout_height="0dp" |
| 82 | android:layout_weight="1" /> |
| 83 | |
| 84 | <ImageButton android:id="@+id/playback_start_stop" |
| 85 | style="@style/VoicemailPlaybackLayoutButtonStyle" |
| 86 | android:src="@drawable/ic_play_arrow" |
| 87 | android:contentDescription="@string/voicemail_play_start_pause" /> |
| 88 | |
| 89 | <Space |
| 90 | android:layout_width="0dp" |
| 91 | android:layout_height="0dp" |
| 92 | android:layout_weight="1" /> |
| 93 | |
| 94 | <ImageButton android:id="@+id/delete_voicemail" |
| 95 | style="@style/VoicemailPlaybackLayoutButtonStyle" |
| 96 | android:src="@drawable/ic_delete_24dp" |
| 97 | android:tint="@color/voicemail_icon_tint" |
Andrew Lee | 4de59fb | 2015-08-13 15:20:08 -0700 | [diff] [blame] | 98 | android:contentDescription="@string/call_log_trash_voicemail" /> |
Andrew Lee | d88b985 | 2015-06-25 10:43:21 -0700 | [diff] [blame] | 99 | |
| 100 | </LinearLayout> |
| 101 | |
| 102 | </LinearLayout> |
| 103 | |
| 104 | <TextView |
| 105 | android:id="@+id/total_duration_text" |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 106 | android:layout_height="wrap_content" |
Andrew Lee | d88b985 | 2015-06-25 10:43:21 -0700 | [diff] [blame] | 107 | android:layout_width="wrap_content" |
| 108 | android:textSize="14sp" |
Nancy Chen | 16c7f81 | 2015-10-27 16:43:02 -0700 | [diff] [blame^] | 109 | android:paddingTop="@dimen/voicemail_playback_top_padding" |
| 110 | android:importantForAccessibility="no" /> |
Andrew Lee | 3ffb71b | 2015-06-05 14:14:28 -0700 | [diff] [blame] | 111 | |
Chiao Cheng | 9d4f3b2 | 2012-09-05 16:00:16 -0700 | [diff] [blame] | 112 | </LinearLayout> |
Andrew Lee | c2289b3 | 2015-05-14 15:41:24 -0700 | [diff] [blame] | 113 | |
Yorke Lee | 8cd9423 | 2014-07-23 14:05:31 -0700 | [diff] [blame] | 114 | </LinearLayout> |