1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2017 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="wrap_content" 22 android:orientation="vertical" 23 android:paddingLeft="4dp"> 24 25 <GridLayout 26 android:layout_width="match_parent" 27 android:layout_height="wrap_content" 28 android:columnCount="2" android:rowCount="2"> 29 30 <CheckBox 31 android:id="@+id/call_cap_voice" 32 android:layout_width="wrap_content" 33 android:layout_height="wrap_content" android:layout_column="0" 34 android:layout_gravity="center" android:layout_row="0" 35 android:text="@string/calling_cap_voice"/> 36 <CheckBox 37 android:id="@+id/call_cap_video" 38 android:layout_width="wrap_content" 39 android:layout_height="wrap_content" android:layout_column="1" 40 android:layout_gravity="center" android:layout_row="0" 41 android:text="@string/calling_cap_video"/> 42 <CheckBox 43 android:id="@+id/call_cap_ut" 44 android:layout_width="wrap_content" 45 android:layout_height="wrap_content" android:layout_column="0" 46 android:layout_gravity="center" android:layout_row="1" 47 android:text="@string/calling_cap_ut"/> 48 <CheckBox 49 android:id="@+id/call_cap_sms" 50 android:layout_width="wrap_content" 51 android:layout_height="wrap_content" android:layout_column="1" 52 android:layout_gravity="center" android:layout_row="1" 53 android:text="@string/calling_cap_sms"/> 54 </GridLayout> 55 <Button 56 android:id="@+id/call_cap_change" 57 android:layout_width="match_parent" 58 android:layout_height="wrap_content" 59 android:text="@string/calling_cap_change_button" /> 60 61 <View 62 android:layout_width="match_parent" 63 android:layout_height="1dp" 64 android:background="?android:attr/listDivider" 65 android:paddingRight="4dp"/> 66 67 <TextView 68 android:layout_width="match_parent" 69 android:layout_height="wrap_content" android:text="@string/calling_cap_enabled_text" 70 android:textStyle="bold"/> 71 <TextView 72 android:id="@+id/call_cap_enabled_text" 73 android:layout_width="match_parent" 74 android:layout_height="wrap_content" android:text=""/> 75 76 <View 77 android:layout_width="match_parent" 78 android:layout_height= "1dp" 79 android:paddingRight="4dp" 80 android:background="?android:attr/listDivider" /> 81 82 <TextView 83 android:layout_width="wrap_content" 84 android:layout_height="wrap_content" 85 android:textStyle="bold" 86 android:text="Capability Changed Events:"/> 87 88 <ListView 89 android:id="@+id/cap_cb_list" 90 android:layout_width="match_parent" 91 android:layout_height="wrap_content"/> 92 93 94</LinearLayout>