<?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
  -->
<ScrollView
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <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:paddingStart="4dp">

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="0dp"
            android:layout_weight="0"
            android:textColor="@android:color/holo_blue_dark"
            android:textSize="20dp"
            android:text="Satellite Wrapper Test"/>
        <Button
            android:id="@+id/requestNtnSignalStrength"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="4dp"
            android:text="@string/requestNtnSignalStrength"/>
        <Button
            android:id="@+id/registerForNtnSignalStrengthChanged"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="4dp"
            android:text="@string/registerForNtnSignalStrengthChanged"/>
        <Button
            android:id="@+id/unregisterForNtnSignalStrengthChanged"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="4dp"
            android:text="@string/unregisterForNtnSignalStrengthChanged"/>
        <Button
            android:id="@+id/isOnlyNonTerrestrialNetworkSubscription"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="4dp"
            android:text="@string/isOnlyNonTerrestrialNetworkSubscription"/>
        <Button
            android:id="@+id/registerForSatelliteCapabilitiesChanged"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="4dp"
            android:text="@string/registerForSatelliteCapabilitiesChanged"/>
        <Button
            android:id="@+id/unregisterForSatelliteCapabilitiesChanged"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="4dp"
            android:text="@string/unregisterForSatelliteCapabilitiesChanged"/>
        <Button
            android:id="@+id/isNonTerrestrialNetwork"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="4dp"
            android:text="@string/isNonTerrestrialNetwork"/>
        <Button
            android:id="@+id/getAvailableServices"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="4dp"
            android:text="@string/getAvailableServices"/>
        <Button
            android:id="@+id/isUsingNonTerrestrialNetwork"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="4dp"
            android:text="@string/isUsingNonTerrestrialNetwork"/>
        <Button
            android:id="@+id/requestAttachEnabledForCarrier_enable"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="4dp"
            android:text="@string/requestAttachEnabledForCarrier_enable"/>
        <Button
            android:id="@+id/requestAttachEnabledForCarrier_disable"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="4dp"
            android:text="@string/requestAttachEnabledForCarrier_disable"/>
        <Button
            android:id="@+id/requestIsAttachEnabledForCarrier"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="4dp"
            android:text="@string/requestIsAttachEnabledForCarrier"/>
        <Button
            android:id="@+id/addAttachRestrictionForCarrier"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="4dp"
            android:text="@string/addAttachRestrictionForCarrier"/>
        <Button
            android:id="@+id/removeAttachRestrictionForCarrier"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="4dp"
            android:text="@string/removeAttachRestrictionForCarrier"/>
        <Button
            android:id="@+id/getAttachRestrictionReasonsForCarrier"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="4dp"
            android:text="@string/getAttachRestrictionReasonsForCarrier"/>
        <Button
            android:id="@+id/getSatellitePlmnsForCarrier"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="4dp"
            android:text="@string/getSatellitePlmnsForCarrier"/>
        <Button
            android:id="@+id/registerForCarrierRoamingNtnModeChanged"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="4dp"
            android:text="@string/registerForCarrierRoamingNtnModeChanged"/>
        <Button
            android:id="@+id/unregisterForCarrierRoamingNtnModeChanged"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="4dp"
            android:text="@string/unregisterForCarrierRoamingNtnModeChanged"/>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal">
             <Button
                android:id="@+id/Back"
                android:onClick="Back"
                android:textColor="@android:color/holo_blue_dark"
                android:layout_marginTop="10dp"
                android:layout_marginBottom="10dp"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:paddingRight="4dp"
                android:text="@string/Back"/>
            <Button
                android:id="@+id/ClearLog"
                android:onClick="ClearLog"
                android:textColor="@android:color/holo_blue_dark"
                android:layout_marginTop="10dp"
                android:layout_marginBottom="10dp"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:paddingRight="4dp"
                android:text="@string/ClearLog"/>
        </LinearLayout>
        <ListView
            android:id="@+id/logListView"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:capitalize="characters"
            android:textColor="@android:color/holo_blue_light"
            android:layout_centerVertical="true"
            android:textSize="8dp" />
    </LinearLayout>

</ScrollView>