diff options
Diffstat (limited to 'java/com/android/dialer/voicemail/listui/res')
-rw-r--r-- | java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_entry.xml | 8 | ||||
-rw-r--r-- | java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_media_player_layout.xml | 38 |
2 files changed, 46 insertions, 0 deletions
diff --git a/java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_entry.xml b/java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_entry.xml index d9c557f1a..80bb1b593 100644 --- a/java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_entry.xml +++ b/java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_entry.xml @@ -81,6 +81,14 @@ android:layout_marginStart="@dimen/call_log_entry_photo_text_margin" android:layout_gravity="center_vertical" android:visibility="gone"/> + + <com.android.dialer.voicemail.listui.NewVoicemailMediaPlayer + android:id="@+id/new_voicemail_media_player" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:visibility="gone" + /> + </LinearLayout> <!-- TODO(a bug): Add ripple effect --> diff --git a/java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_media_player_layout.xml b/java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_media_player_layout.xml new file mode 100644 index 000000000..762782fb5 --- /dev/null +++ b/java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_media_player_layout.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2017 The Android Open Source Project + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License + --> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_height="match_parent"> + <!-- TODO(a bug): Remove these buttons as this is a place holder for the Media Player --> + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Play" + android:id="@+id/playButton" /> + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Speaker" + android:id="@+id/speakerButton" /> + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Delete" + android:id="@+id/deleteButton" /> +</LinearLayout> |