blob: 9e53f41853651e7c42d251c722e774d8d6f60765 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2023 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:gravity="center"
android:paddingLeft="4dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:textColor="@android:color/holo_blue_dark"
android:textSize="20dp"
android:text="Datagram APIs"/>
<Button
android:id="@+id/startSatelliteTransmissionUpdates"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingRight="4dp"
android:text="@string/startSatelliteTransmissionUpdates"/>
<Button
android:id="@+id/stopSatelliteTransmissionUpdates"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingRight="4dp"
android:text="@string/stopSatelliteTransmissionUpdates"/>
<Button
android:id="@+id/pollPendingSatelliteDatagrams"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingRight="4dp"
android:text="@string/pollPendingSatelliteDatagrams"/>
<Button
android:id="@+id/sendSatelliteDatagram"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingRight="4dp"
android:text="@string/sendSatelliteDatagram"/>
<Button
android:id="@+id/registerForSatelliteDatagram"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingRight="4dp"
android:text="@string/registerForSatelliteDatagram"/>
<Button
android:id="@+id/unregisterForSatelliteDatagram"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingRight="4dp"
android:text="@string/unregisterForSatelliteDatagram"/>
<Button
android:id="@+id/showDatagramSendStateTransition"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingRight="4dp"
android:text="@string/showDatagramSendStateTransition"/>
<Button
android:id="@+id/showDatagramReceiveStateTransition"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingRight="4dp"
android:text="@string/showDatagramReceiveStateTransition"/>
<Button
android:id="@+id/registerForSatelliteModemStateChanged"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingRight="4dp"
android:text="@string/registerForSatelliteModemStateChanged"/>
<Button
android:id="@+id/unregisterForSatelliteModemStateChanged"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingRight="4dp"
android:text="@string/unregisterForSatelliteModemStateChanged"/>
<Button
android:id="@+id/showSatelliteModemStateTransition"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingRight="4dp"
android:text="@string/showSatelliteModemStateTransition"/>
<Button
android:id="@+id/Back"
android:onClick="Back"
android:textColor="@android:color/holo_blue_dark"
android:layout_marginTop="100dp"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingRight="4dp"
android:text="@string/Back"/>
<TextView
android:id="@+id/text_id"
android:layout_width="400dp"
android:layout_height="50dp"
android:capitalize="characters"
android:textColor="@android:color/holo_blue_light"
android:textSize="15dp" />
<TextView
android:id="@+id/showErrorStatus"
android:layout_width="400dp"
android:layout_height="50dp"
android:capitalize="characters"
android:textColor="@android:color/holo_blue_light"
android:textSize="15dp" />
</LinearLayout>
</LinearLayout>