1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2015 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 <Button 75 android:id="@+id/exit_audio_processing_ring_button" 76 android:layout_width="wrap_content" 77 android:layout_height="wrap_content" 78 android:text="@string/exit_audio_processing_ring_button"/> 79 <Button 80 android:id="@+id/exit_audio_processing_noring_button" 81 android:layout_width="wrap_content" 82 android:layout_height="wrap_content" 83 android:text="@string/exit_audio_processing_noring_button"/> 84 <Button 85 android:id="@+id/reject_button" 86 android:layout_width="wrap_content" 87 android:layout_height="wrap_content" 88 android:text="@string/reject_button"/> 89 </GridLayout> 90 <LinearLayout 91 android:layout_width="wrap_content" 92 android:layout_height="wrap_content" 93 android:orientation="horizontal"> 94 <Spinner 95 android:id="@+id/available_bt_devices" 96 android:layout_width="match_parent" 97 android:layout_height="wrap_content"/> 98 <Button 99 android:id="@+id/set_bt_device_button" 100 android:layout_width="wrap_content" 101 android:layout_height="wrap_content" 102 android:text="@string/setBtDeviceButton"/> 103 </LinearLayout> 104 <LinearLayout 105 android:layout_width="wrap_content" 106 android:layout_height="wrap_content" 107 android:orientation="horizontal"> 108 <Button 109 android:id="@+id/earpiece_button" 110 android:layout_width="wrap_content" 111 android:layout_height="wrap_content" 112 android:text="@string/earpieceButton"/> 113 <Button 114 android:id="@+id/speaker_button" 115 android:layout_width="wrap_content" 116 android:layout_height="wrap_content" 117 android:text="@string/speakerButton"/> 118 </LinearLayout> 119 <LinearLayout 120 android:layout_width="wrap_content" 121 android:layout_height="wrap_content" 122 android:orientation="horizontal"> 123 <TextView 124 android:id="@+id/current_route_label" 125 android:layout_width="wrap_content" 126 android:layout_height="wrap_content" 127 android:text="@string/currentRouteLabel"/> 128 <TextView 129 android:id="@+id/current_audio_route" 130 android:layout_width="wrap_content" 131 android:layout_height="wrap_content" 132 android:layout_marginLeft="10dp"/> 133 </LinearLayout> 134 <TextView 135 android:id="@+id/incoming_composer_attachments" 136 android:layout_width="wrap_content" 137 android:layout_height="wrap_content" 138 android:layout_marginLeft="10dp"/> 139 <Button 140 android:id="@+id/disable_incallservice" 141 android:layout_width="wrap_content" 142 android:layout_height="wrap_content" 143 android:text="Disable InCallService" /> 144 <Button 145 android:id="@+id/enable_incallservice" 146 android:layout_height="wrap_content" 147 android:layout_width="wrap_content" 148 android:text="Enable InCallService" /> 149</LinearLayout> 150