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