1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2023 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<ScrollView 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent"> 21 22 <LinearLayout 23 xmlns:android="http://schemas.android.com/apk/res/android" 24 android:layout_width="match_parent" 25 android:layout_height="wrap_content" 26 android:orientation="vertical" 27 android:gravity="center" 28 android:paddingStart="4dp"> 29 30 <TextView 31 android:layout_width="wrap_content" 32 android:layout_height="0dp" 33 android:layout_weight="0" 34 android:textColor="@android:color/holo_blue_dark" 35 android:textSize="20dp" 36 android:text="Satellite Wrapper Test"/> 37 <Button 38 android:id="@+id/requestNtnSignalStrength" 39 android:layout_width="match_parent" 40 android:layout_height="wrap_content" 41 android:paddingRight="4dp" 42 android:text="@string/requestNtnSignalStrength"/> 43 <Button 44 android:id="@+id/registerForNtnSignalStrengthChanged" 45 android:layout_width="match_parent" 46 android:layout_height="wrap_content" 47 android:paddingRight="4dp" 48 android:text="@string/registerForNtnSignalStrengthChanged"/> 49 <Button 50 android:id="@+id/unregisterForNtnSignalStrengthChanged" 51 android:layout_width="match_parent" 52 android:layout_height="wrap_content" 53 android:paddingRight="4dp" 54 android:text="@string/unregisterForNtnSignalStrengthChanged"/> 55 <Button 56 android:id="@+id/isOnlyNonTerrestrialNetworkSubscription" 57 android:layout_width="match_parent" 58 android:layout_height="wrap_content" 59 android:paddingRight="4dp" 60 android:text="@string/isOnlyNonTerrestrialNetworkSubscription"/> 61 <Button 62 android:id="@+id/registerForSatelliteCapabilitiesChanged" 63 android:layout_width="match_parent" 64 android:layout_height="wrap_content" 65 android:paddingRight="4dp" 66 android:text="@string/registerForSatelliteCapabilitiesChanged"/> 67 <Button 68 android:id="@+id/unregisterForSatelliteCapabilitiesChanged" 69 android:layout_width="match_parent" 70 android:layout_height="wrap_content" 71 android:paddingRight="4dp" 72 android:text="@string/unregisterForSatelliteCapabilitiesChanged"/> 73 <Button 74 android:id="@+id/isNonTerrestrialNetwork" 75 android:layout_width="match_parent" 76 android:layout_height="wrap_content" 77 android:paddingRight="4dp" 78 android:text="@string/isNonTerrestrialNetwork"/> 79 <Button 80 android:id="@+id/getAvailableServices" 81 android:layout_width="match_parent" 82 android:layout_height="wrap_content" 83 android:paddingRight="4dp" 84 android:text="@string/getAvailableServices"/> 85 <Button 86 android:id="@+id/isUsingNonTerrestrialNetwork" 87 android:layout_width="match_parent" 88 android:layout_height="wrap_content" 89 android:paddingRight="4dp" 90 android:text="@string/isUsingNonTerrestrialNetwork"/> 91 <Button 92 android:id="@+id/requestAttachEnabledForCarrier_enable" 93 android:layout_width="match_parent" 94 android:layout_height="wrap_content" 95 android:paddingRight="4dp" 96 android:text="@string/requestAttachEnabledForCarrier_enable"/> 97 <Button 98 android:id="@+id/requestAttachEnabledForCarrier_disable" 99 android:layout_width="match_parent" 100 android:layout_height="wrap_content" 101 android:paddingRight="4dp" 102 android:text="@string/requestAttachEnabledForCarrier_disable"/> 103 <Button 104 android:id="@+id/requestIsAttachEnabledForCarrier" 105 android:layout_width="match_parent" 106 android:layout_height="wrap_content" 107 android:paddingRight="4dp" 108 android:text="@string/requestIsAttachEnabledForCarrier"/> 109 <Button 110 android:id="@+id/addAttachRestrictionForCarrier" 111 android:layout_width="match_parent" 112 android:layout_height="wrap_content" 113 android:paddingRight="4dp" 114 android:text="@string/addAttachRestrictionForCarrier"/> 115 <Button 116 android:id="@+id/removeAttachRestrictionForCarrier" 117 android:layout_width="match_parent" 118 android:layout_height="wrap_content" 119 android:paddingRight="4dp" 120 android:text="@string/removeAttachRestrictionForCarrier"/> 121 <Button 122 android:id="@+id/getAttachRestrictionReasonsForCarrier" 123 android:layout_width="match_parent" 124 android:layout_height="wrap_content" 125 android:paddingRight="4dp" 126 android:text="@string/getAttachRestrictionReasonsForCarrier"/> 127 <Button 128 android:id="@+id/getSatellitePlmnsForCarrier" 129 android:layout_width="match_parent" 130 android:layout_height="wrap_content" 131 android:paddingRight="4dp" 132 android:text="@string/getSatellitePlmnsForCarrier"/> 133 <Button 134 android:id="@+id/registerForCarrierRoamingNtnModeChanged" 135 android:layout_width="match_parent" 136 android:layout_height="wrap_content" 137 android:paddingRight="4dp" 138 android:text="@string/registerForCarrierRoamingNtnModeChanged"/> 139 <Button 140 android:id="@+id/unregisterForCarrierRoamingNtnModeChanged" 141 android:layout_width="match_parent" 142 android:layout_height="wrap_content" 143 android:paddingRight="4dp" 144 android:text="@string/unregisterForCarrierRoamingNtnModeChanged"/> 145 <LinearLayout 146 android:layout_width="match_parent" 147 android:layout_height="wrap_content" 148 android:orientation="horizontal"> 149 <Button 150 android:id="@+id/Back" 151 android:onClick="Back" 152 android:textColor="@android:color/holo_blue_dark" 153 android:layout_marginTop="10dp" 154 android:layout_marginBottom="10dp" 155 android:layout_width="0dp" 156 android:layout_height="wrap_content" 157 android:layout_weight="1" 158 android:paddingRight="4dp" 159 android:text="@string/Back"/> 160 <Button 161 android:id="@+id/ClearLog" 162 android:onClick="ClearLog" 163 android:textColor="@android:color/holo_blue_dark" 164 android:layout_marginTop="10dp" 165 android:layout_marginBottom="10dp" 166 android:layout_width="0dp" 167 android:layout_height="wrap_content" 168 android:layout_weight="1" 169 android:paddingRight="4dp" 170 android:text="@string/ClearLog"/> 171 </LinearLayout> 172 <ListView 173 android:id="@+id/logListView" 174 android:layout_width="match_parent" 175 android:layout_height="match_parent" 176 android:capitalize="characters" 177 android:textColor="@android:color/holo_blue_light" 178 android:layout_centerVertical="true" 179 android:textSize="8dp" /> 180 </LinearLayout> 181 182</ScrollView>