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