diff options
Diffstat (limited to 'testapps/res')
-rw-r--r-- | testapps/res/layout/incall_screen.xml | 13 | ||||
-rw-r--r-- | testapps/res/layout/rtt_incall_screen.xml | 57 | ||||
-rw-r--r-- | testapps/res/layout/testdialer_main.xml | 5 | ||||
-rw-r--r-- | testapps/res/values/donottranslate_strings.xml | 26 |
4 files changed, 99 insertions, 2 deletions
diff --git a/testapps/res/layout/incall_screen.xml b/testapps/res/layout/incall_screen.xml index 6a891e7f..3ca87814 100644 --- a/testapps/res/layout/incall_screen.xml +++ b/testapps/res/layout/incall_screen.xml @@ -44,7 +44,16 @@ android:id="@+id/hold_button" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="@string/holdButton" > - </Button> + android:text="@string/holdButton"/> + <Button + android:id="@+id/rtt_iface_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/rttIfaceButton"/> + <Button + android:id="@+id/answer_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/answerCallButton"/> </LinearLayout> </LinearLayout> diff --git a/testapps/res/layout/rtt_incall_screen.xml b/testapps/res/layout/rtt_incall_screen.xml new file mode 100644 index 00000000..e7cbac4a --- /dev/null +++ b/testapps/res/layout/rtt_incall_screen.xml @@ -0,0 +1,57 @@ +<?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="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <TextView + android:id="@+id/received_messages_text" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="> " + android:lines="7" /> + <TextView + android:id="@+id/sent_messages_text" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="> " + android:lines="7" /> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal"> + <Button + android:id="@+id/end_rtt_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/endRttButton" /> + <Spinner + android:id="@+id/rtt_mode_selection_spinner" + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> + </LinearLayout> + + <EditText + android:id="@+id/rtt_typing_box" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:lines="1" + android:hint="Type here" /> +</LinearLayout>
\ No newline at end of file diff --git a/testapps/res/layout/testdialer_main.xml b/testapps/res/layout/testdialer_main.xml index 2c3e5e48..e6c56b74 100644 --- a/testapps/res/layout/testdialer_main.xml +++ b/testapps/res/layout/testdialer_main.xml @@ -44,4 +44,9 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/cancelMissedButton" /> + <CheckBox + android:id="@+id/call_with_rtt_checkbox" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/startCallWithRtt"/> </LinearLayout> diff --git a/testapps/res/values/donottranslate_strings.xml b/testapps/res/values/donottranslate_strings.xml index 74a3fd40..f24625e5 100644 --- a/testapps/res/values/donottranslate_strings.xml +++ b/testapps/res/values/donottranslate_strings.xml @@ -40,6 +40,14 @@ <string name="endCallButton">End Call</string> + <string name="answerCallButton">Answer</string> + + <string name="startCallWithRtt">Start call with RTT</string> + + <string name="rttIfaceButton">RTT</string> + + <string name="endRttButton">End RTT</string> + <string name="muteButton">Mute</string> <string name="holdButton">Hold</string> @@ -62,4 +70,22 @@ <string name="incomingCallNotPermitted">Incoming call not permitted.</string> <string name="incomingCallNotPermittedCS">Incoming call not permitted (CS Reported).</string> + + <string name="rttUiLabel">Test RTT UI</string> + + <string-array name="rtt_mode_array"> + <item>Full</item> + <item>HCO</item> + <item>VCO</item> + </string-array> + + <string-array name="rtt_reply_one_liners"> + <item>To RTT or not to RTT, that is the question...</item> + <item>Making TTY great again!</item> + <item>I would be more comfortable with real "Thyme" chatting. I don\'t know how to end + this pun</item> + <item>お疲れ様でした</item> + <item>The FCC has mandated that I respond... I will do so begrudgingly</item> + <item>😂😂😂💯</item> + </string-array> </resources> |