diff options
Diffstat (limited to 'java/com/android/incallui/rtt/impl/res')
-rw-r--r-- | java/com/android/incallui/rtt/impl/res/layout/audio_route.xml | 54 | ||||
-rw-r--r-- | java/com/android/incallui/rtt/impl/res/values/strings.xml | 4 |
2 files changed, 58 insertions, 0 deletions
diff --git a/java/com/android/incallui/rtt/impl/res/layout/audio_route.xml b/java/com/android/incallui/rtt/impl/res/layout/audio_route.xml new file mode 100644 index 000000000..89b5c76f0 --- /dev/null +++ b/java/com/android/incallui/rtt/impl/res/layout/audio_route.xml @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2018 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" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="180dp" + android:layout_height="wrap_content" + android:paddingTop="8dp" + android:paddingBottom="8dp" + android:background="@drawable/overflow_menu_background" + android:orientation="vertical"> + <com.android.incallui.rtt.impl.RttCheckableButton + android:id="@+id/audioroute_back" + style="@style/RttButton" + android:drawableStart="@drawable/quantum_ic_arrow_back_vd_theme_24" + android:text="@string/rtt_button_back"/> + <View + android:layout_width="match_parent" + android:layout_height="1dp" + android:background="@color/divider_line_color"/> + <com.android.incallui.rtt.impl.RttCheckableButton + android:id="@+id/audioroute_bluetooth" + style="@style/RttButton" + android:drawableStart="@drawable/quantum_ic_bluetooth_audio_vd_theme_24" + android:text="@string/audioroute_bluetooth"/> + <com.android.incallui.rtt.impl.RttCheckableButton + android:id="@+id/audioroute_speaker" + style="@style/RttButton" + android:drawableStart="@drawable/quantum_ic_volume_up_vd_theme_24" + android:text="@string/audioroute_speaker"/> + <com.android.incallui.rtt.impl.RttCheckableButton + android:id="@+id/audioroute_earpiece" + style="@style/RttButton" + android:drawableStart="@drawable/quantum_ic_phone_in_talk_vd_theme_24" + android:text="@string/audioroute_phone"/> + <com.android.incallui.rtt.impl.RttCheckableButton + android:id="@+id/audioroute_headset" + style="@style/RttButton" + android:drawableStart="@drawable/quantum_ic_headset_vd_theme_24" + android:text="@string/audioroute_headset"/> +</LinearLayout>
\ No newline at end of file diff --git a/java/com/android/incallui/rtt/impl/res/values/strings.xml b/java/com/android/incallui/rtt/impl/res/values/strings.xml index 0b9eb71f4..dce16fdda 100644 --- a/java/com/android/incallui/rtt/impl/res/values/strings.xml +++ b/java/com/android/incallui/rtt/impl/res/values/strings.xml @@ -23,4 +23,8 @@ <!-- Content description for avatar of RTT chat message. [CHAR LIMIT=NONE] --> <string name="content_description_rtt_chat_avatar">Avatar</string> + + <!-- Text for back button. [CHAR LIMIT=20] --> + <string name="rtt_button_back">Back</string> + </resources>
\ No newline at end of file |