1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2019 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 17<LinearLayout 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:orientation="vertical" > 22 <ListView 23 android:id="@+id/callListView" 24 android:layout_width="fill_parent" 25 android:layout_height="wrap_content" 26 android:divider="#FFCC00" 27 android:dividerHeight="4px"> 28 </ListView> 29 <GridLayout 30 android:columnCount="3" 31 android:layout_width="match_parent" 32 android:layout_height="wrap_content" 33 android:orientation="horizontal"> 34 <Button 35 android:id="@+id/end_call_button" 36 android:layout_width="wrap_content" 37 android:layout_height="wrap_content" 38 android:text="@string/endCallButton" /> 39 <Button 40 android:id="@+id/mute_button" 41 android:layout_width="wrap_content" 42 android:layout_height="wrap_content" 43 android:text="@string/muteButton" /> 44 <Button 45 android:id="@+id/hold_button" 46 android:layout_width="wrap_content" 47 android:layout_height="wrap_content" 48 android:text="@string/holdButton"/> 49 <Button 50 android:id="@+id/rtt_iface_button" 51 android:layout_width="wrap_content" 52 android:layout_height="wrap_content" 53 android:text="@string/rttIfaceButton"/> 54 <Button 55 android:id="@+id/answer_button" 56 android:layout_width="wrap_content" 57 android:layout_height="wrap_content" 58 android:text="@string/answerCallButton"/> 59 <Button 60 android:id="@+id/start_rtt_button" 61 android:layout_width="wrap_content" 62 android:layout_height="wrap_content" 63 android:text="@string/startRttButton"/> 64 <Button 65 android:id="@+id/accept_rtt_button" 66 android:layout_width="wrap_content" 67 android:layout_height="wrap_content" 68 android:text="@string/acceptRttButton"/> 69 <Button 70 android:id="@+id/request_handover_button" 71 android:layout_width="wrap_content" 72 android:layout_height="wrap_content" 73 android:text="@string/handoverButton"/> 74 </GridLayout> 75 <LinearLayout 76 android:layout_width="wrap_content" 77 android:layout_height="wrap_content" 78 android:orientation="horizontal"> 79 <Spinner 80 android:id="@+id/available_bt_devices" 81 android:layout_width="match_parent" 82 android:layout_height="wrap_content"/> 83 <Button 84 android:id="@+id/set_bt_device_button" 85 android:layout_width="wrap_content" 86 android:layout_height="wrap_content" 87 android:text="@string/setBtDeviceButton"/> 88 </LinearLayout> 89 <LinearLayout 90 android:layout_width="wrap_content" 91 android:layout_height="wrap_content" 92 android:orientation="horizontal"> 93 <Button 94 android:id="@+id/earpiece_button" 95 android:layout_width="wrap_content" 96 android:layout_height="wrap_content" 97 android:text="@string/earpieceButton"/> 98 <Button 99 android:id="@+id/speaker_button" 100 android:layout_width="wrap_content" 101 android:layout_height="wrap_content" 102 android:text="@string/speakerButton"/> 103 </LinearLayout> 104 <LinearLayout 105 android:layout_width="wrap_content" 106 android:layout_height="wrap_content" 107 android:orientation="horizontal"> 108 <TextView 109 android:id="@+id/current_route_label" 110 android:layout_width="wrap_content" 111 android:layout_height="wrap_content" 112 android:text="@string/currentRouteLabel"/> 113 <TextView 114 android:id="@+id/current_audio_route" 115 android:layout_width="wrap_content" 116 android:layout_height="wrap_content" 117 android:layout_marginLeft="10dp"/> 118 </LinearLayout> 119</LinearLayout> 120