1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2022 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17 18<LinearLayout 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent" 22 android:orientation="vertical"> 23 24 <TextView 25 android:id="@+id/getCallIdTextView" 26 android:layout_width="wrap_content" 27 android:layout_height="wrap_content" 28 android:text="@string/get_call_id" 29 /> 30 31 <Button 32 android:id="@+id/updateCallStyleNotification" 33 android:layout_width="wrap_content" 34 android:layout_height="wrap_content" 35 android:text="@string/update_notification" 36 /> 37 38 <Button 39 android:id="@+id/answer_button" 40 android:layout_width="wrap_content" 41 android:layout_height="wrap_content" 42 android:text="@string/answer"/> 43 44 <Button 45 android:id="@+id/set_call_active_button" 46 android:layout_width="wrap_content" 47 android:layout_height="wrap_content" 48 android:text="@string/set_call_active"/> 49 50 <Button 51 android:id="@+id/set_call_inactive_button" 52 android:layout_width="wrap_content" 53 android:layout_height="wrap_content" 54 android:text="@string/set_call_inactive"/> 55 56 <Button 57 android:id="@+id/disconnect_call_button" 58 android:layout_width="wrap_content" 59 android:layout_height="wrap_content" 60 android:text="@string/disconnect_call"/> 61 62 <Button 63 android:id="@+id/start_stream_button" 64 android:layout_width="wrap_content" 65 android:layout_height="wrap_content" 66 android:text="@string/start_stream"/> 67 68 <Button 69 android:id="@+id/crash_app" 70 android:layout_width="wrap_content" 71 android:layout_height="wrap_content" 72 android:text="@string/crash_app"/> 73 74 <LinearLayout 75 android:layout_width="wrap_content" 76 android:layout_height="wrap_content" 77 android:orientation="vertical"> 78 79 <TextView 80 android:id="@+id/current_endpoint" 81 android:layout_width="wrap_content" 82 android:layout_height="wrap_content" 83 /> 84 85 <LinearLayout 86 android:layout_width="wrap_content" 87 android:layout_height="wrap_content" 88 android:orientation="horizontal"> 89 90 <Button 91 android:id="@+id/request_earpiece" 92 android:layout_width="wrap_content" 93 android:layout_height="wrap_content" 94 android:text="@string/request_earpiece_endpoint"/> 95 96 <Button 97 android:id="@+id/request_speaker" 98 android:layout_width="wrap_content" 99 android:layout_height="wrap_content" 100 android:text="@string/request_speaker_endpoint"/> 101 102 <Button 103 android:id="@+id/request_bluetooth" 104 android:layout_width="wrap_content" 105 android:layout_height="wrap_content" 106 android:text="@string/request_bluetooth_endpoint"/> 107 </LinearLayout> 108 109 </LinearLayout> 110</LinearLayout> 111