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" android:layout_weight="0"
36            android:textColor="@android:color/holo_blue_dark"
37            android:textSize="20dp"
38            android:text="Send and Receive APIs"/>
39        <Button
40            android:id="@+id/sendMessage"
41            android:layout_width="match_parent"
42            android:layout_height="wrap_content"
43            android:paddingRight="4dp"
44            android:text="@string/sendMessage"/>
45        <Button
46            android:id="@+id/receiveMessage"
47            android:layout_width="match_parent"
48            android:layout_height="wrap_content"
49            android:paddingRight="4dp"
50            android:text="@string/receiveMessage"/>
51        <EditText
52            android:id="@+id/enterText"
53            android:layout_width="wrap_content"
54            android:layout_height="wrap_content"
55            android:hint="Enter message to send"
56            android:inputType="text" />
57        <Button
58            android:id="@+id/Back"
59            android:onClick="Back"
60            android:textColor="@android:color/holo_blue_dark"
61            android:layout_marginTop="100dp"
62            android:layout_gravity="center"
63            android:layout_width="wrap_content"
64            android:layout_height="wrap_content"
65            android:paddingRight="4dp"
66            android:text="@string/Back"/>
67        <TextView
68            android:id="@+id/showErrorStatus"
69            android:layout_width="400dp"
70            android:layout_height="50dp"
71            android:capitalize="characters"
72            android:textColor="@android:color/holo_blue_light"
73            android:textSize="15dp" />
74        <TextView
75            android:id="@+id/devicePosition"
76            android:layout_width="400dp"
77            android:layout_height="65dp"
78            android:capitalize="characters"
79            android:textColor="@android:color/holo_blue_light"
80            android:layout_centerVertical="true"
81            android:textSize="15dp" />
82        <TextView
83            android:id="@+id/satellitePosition"
84            android:layout_width="400dp"
85            android:layout_height="65dp"
86            android:capitalize="characters"
87            android:textColor="@android:color/holo_blue_light"
88            android:layout_centerVertical="true"
89            android:textSize="15dp" />
90        <TextView
91            android:id="@+id/messageStatus"
92            android:layout_width="400dp"
93            android:layout_height="65dp"
94            android:capitalize="characters"
95            android:textColor="@android:color/holo_blue_light"
96            android:layout_centerVertical="true"
97            android:textSize="15dp" />
98    </LinearLayout>
99</ScrollView>
100