<?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="Send and Receive APIs"/>
        <Button
            android:id="@+id/sendMessage"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="4dp"
            android:text="@string/sendMessage"/>
        <Button
            android:id="@+id/receiveMessage"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingRight="4dp"
            android:text="@string/receiveMessage"/>
        <EditText
            android:id="@+id/enterText"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:hint="Enter message to send"
            android:inputType="text" />
        <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/showErrorStatus"
            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/devicePosition"
            android:layout_width="400dp"
            android:layout_height="65dp"
            android:capitalize="characters"
            android:textColor="@android:color/holo_blue_light"
            android:layout_centerVertical="true"
            android:textSize="15dp" />
        <TextView
            android:id="@+id/satellitePosition"
            android:layout_width="400dp"
            android:layout_height="65dp"
            android:capitalize="characters"
            android:textColor="@android:color/holo_blue_light"
            android:layout_centerVertical="true"
            android:textSize="15dp" />
        <TextView
            android:id="@+id/messageStatus"
            android:layout_width="400dp"
            android:layout_height="65dp"
            android:capitalize="characters"
            android:textColor="@android:color/holo_blue_light"
            android:layout_centerVertical="true"
            android:textSize="15dp" />
    </LinearLayout>
</LinearLayout>
