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 18<ScrollView 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:gravity="center" 24 android:paddingTop="10dp" 25 android:paddingBottom="10dp" 26 android:paddingLeft="4dp"> 27 28 <LinearLayout 29 android:layout_width="match_parent" 30 android:layout_height="wrap_content" 31 android:orientation="vertical" > 32 33 <TextView 34 android:layout_width="wrap_content" 35 android:layout_height="wrap_content" 36 android:layout_weight="0" 37 android:textColor="@android:color/holo_blue_dark" 38 android:textSize="20dp" 39 android:text="Satellite Control APIs"/> 40 <Button 41 android:id="@+id/enableSatelliteDemoMode" 42 android:layout_width="match_parent" 43 android:layout_height="wrap_content" 44 android:paddingRight="4dp" 45 android:text="@string/enableSatelliteDemoMode"/> 46 <Button 47 android:id="@+id/enableSatelliteRealMode" 48 android:layout_width="match_parent" 49 android:layout_height="wrap_content" 50 android:paddingRight="4dp" 51 android:text="@string/enableSatelliteRealMode"/> 52 <Button 53 android:id="@+id/disableSatellite" 54 android:layout_width="match_parent" 55 android:layout_height="wrap_content" 56 android:paddingRight="4dp" 57 android:text="@string/disableSatellite"/> 58 <Button 59 android:id="@+id/requestIsSatelliteEnabled" 60 android:layout_width="match_parent" 61 android:layout_height="wrap_content" 62 android:paddingRight="4dp" 63 android:text="@string/requestIsSatelliteEnabled"/> 64 <Button 65 android:id="@+id/requestIsDemoModeEnabled" 66 android:layout_width="match_parent" 67 android:layout_height="wrap_content" 68 android:paddingRight="4dp" 69 android:text="@string/requestIsDemoModeEnabled"/> 70 <Button 71 android:id="@+id/requestIsSatelliteSupported" 72 android:layout_width="match_parent" 73 android:layout_height="wrap_content" 74 android:paddingRight="4dp" 75 android:text="@string/requestIsSatelliteSupported"/> 76 <Button 77 android:id="@+id/requestSatelliteCapabilities" 78 android:layout_width="match_parent" 79 android:layout_height="wrap_content" 80 android:paddingRight="4dp" 81 android:text="@string/requestSatelliteCapabilities"/> 82 <Button 83 android:id="@+id/requestIsSatelliteCommunicationAllowedForCurrentLocation" 84 android:layout_width="match_parent" 85 android:layout_height="wrap_content" 86 android:paddingRight="4dp" 87 android:text="@string/requestIsSatelliteCommunicationAllowedForCurrentLocation"/> 88 <Button 89 android:id="@+id/requestTimeForNextSatelliteVisibility" 90 android:layout_width="match_parent" 91 android:layout_height="wrap_content" 92 android:paddingRight="4dp" 93 android:text="@string/requestTimeForNextSatelliteVisibility"/> 94 <Button 95 android:id="@+id/removeUserRestrictReason" 96 android:layout_width="match_parent" 97 android:layout_height="wrap_content" 98 android:paddingRight="4dp" 99 android:text="@string/removeUserRestrictReason"/> 100 <Button 101 android:id="@+id/addUserRestrictReason" 102 android:layout_width="match_parent" 103 android:layout_height="wrap_content" 104 android:paddingRight="4dp" 105 android:text="@string/addUserRestrictReason"/> 106 <Button 107 android:id="@+id/getSatellitePlmn" 108 android:layout_width="match_parent" 109 android:layout_height="wrap_content" 110 android:paddingRight="4dp" 111 android:text="@string/getSatellitePlmn"/> 112 <Button 113 android:id="@+id/getAllSatellitePlmn" 114 android:layout_width="match_parent" 115 android:layout_height="wrap_content" 116 android:paddingRight="4dp" 117 android:text="@string/getAllSatellitePlmn"/> 118 <Button 119 android:id="@+id/isSatelliteEnabledForCarrier" 120 android:layout_width="match_parent" 121 android:layout_height="wrap_content" 122 android:paddingRight="4dp" 123 android:text="@string/isSatelliteEnabledForCarrier"/> 124 <Button 125 android:id="@+id/isRequestIsSatelliteEnabledForCarrier" 126 android:layout_width="match_parent" 127 android:layout_height="wrap_content" 128 android:paddingRight="4dp" 129 android:text="@string/isRequestIsSatelliteEnabledForCarrier"/> 130 <Button 131 android:id="@+id/getIsEmergency" 132 android:layout_width="match_parent" 133 android:layout_height="wrap_content" 134 android:paddingRight="4dp" 135 android:text="@string/getIsEmergency"/> 136 <Button 137 android:id="@+id/requestSatelliteSubscriberProvisionStatus" 138 android:layout_width="match_parent" 139 android:layout_height="wrap_content" 140 android:paddingRight="4dp" 141 android:text="@string/requestSatelliteSubscriberProvisionStatus"/> 142 <Button 143 android:id="@+id/provisionSatellite" 144 android:layout_width="match_parent" 145 android:layout_height="wrap_content" 146 android:paddingRight="4dp" 147 android:text="@string/provisionSatellite"/> 148 <Button 149 android:id="@+id/deprovisionSatellite" 150 android:layout_width="match_parent" 151 android:layout_height="wrap_content" 152 android:paddingRight="4dp" 153 android:text="@string/deprovisionSatellite"/> 154 <Button 155 android:id="@+id/Back" 156 android:onClick="Back" 157 android:textColor="@android:color/holo_blue_dark" 158 android:layout_marginTop="100dp" 159 android:layout_gravity="center" 160 android:layout_width="wrap_content" 161 android:layout_height="wrap_content" 162 android:paddingRight="4dp" 163 android:text="@string/Back"/> 164 <TextView 165 android:id="@+id/text_id" 166 android:layout_width="300dp" 167 android:layout_height="200dp" 168 android:capitalize="characters" 169 android:textColor="@android:color/holo_blue_light" 170 android:layout_centerVertical="true" 171 android:textSize="15dp" /> 172 </LinearLayout> 173</ScrollView> 174