• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2021 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<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
18                xmlns:app="http://schemas.android.com/apk/res-auto"
19                android:layout_width="fill_parent"
20                android:layout_height="match_parent"
21                android:orientation="vertical">
22    <TextView
23        android:id="@+id/main_location_enabled"
24        android:layout_width="wrap_content"
25        android:layout_height="wrap_content"
26        android:layout_centerHorizontal="true"
27        android:layout_marginTop="100dp"
28        android:textStyle="bold"
29        android:text="main location enabled: "/>
30    <TextView
31        android:id="@+id/main_location_status"
32        android:layout_width="wrap_content"
33        android:layout_height="wrap_content"
34        android:layout_toRightOf="@id/main_location_enabled"
35        android:layout_marginTop="100dp"
36        android:textStyle="bold"/>
37    <TextView
38        android:id="@+id/adas_location_enabled"
39        android:layout_width="wrap_content"
40        android:layout_height="wrap_content"
41        android:layout_centerHorizontal="true"
42        android:layout_below="@id/main_location_enabled"
43        android:textStyle="bold"
44        android:text="adas location enabled: "/>
45    <TextView
46        android:id="@+id/adas_location_status"
47        android:layout_width="wrap_content"
48        android:layout_height="wrap_content"
49        android:layout_below="@id/main_location_status"
50        android:layout_toRightOf="@id/adas_location_enabled"
51        android:textStyle="bold"/>
52    <TextView
53        android:id="@+id/current_location"
54        android:layout_width="wrap_content"
55        android:layout_height="wrap_content"
56        android:text="@string/current_location"
57        android:layout_alignParentLeft="true"
58        android:layout_marginLeft="350dp"
59        android:layout_marginTop= "200dp"
60        android:textStyle="bold"/>
61    <TextView
62        android:id="@+id/current_location_result"
63        android:layout_width="wrap_content"
64        android:layout_height="wrap_content"
65        android:layout_below="@id/current_location"
66        android:layout_alignParentLeft="true"
67        android:layout_marginLeft="350dp"
68        android:textStyle="bold"/>
69    <com.google.android.material.floatingactionbutton.FloatingActionButton
70        android:id="@+id/observe_fab"
71        android:layout_width="wrap_content"
72        android:layout_height="wrap_content"
73        android:layout_below="@id/current_location_result"
74        android:layout_alignParentLeft="true"
75        app:useCompatPadding="true"
76        android:layout_marginLeft="350dp"/>
77    <TextView
78        android:id="@+id/last_location"
79        android:layout_width="wrap_content"
80        android:layout_height="wrap_content"
81        android:text="@string/last_location"
82        android:layout_alignParentRight="true"
83        android:layout_marginRight="350dp"
84        android:layout_marginTop= "200dp"
85        android:textStyle="bold"/>
86    <TextView
87        android:id="@+id/last_location_result"
88        android:layout_width="wrap_content"
89        android:layout_height="wrap_content"
90        android:layout_below="@id/last_location"
91        android:layout_alignParentRight="true"
92        android:layout_marginRight="350dp"
93        android:textStyle="bold"/>
94    <com.google.android.material.floatingactionbutton.FloatingActionButton
95        android:id="@+id/query_fab"
96        android:layout_width="wrap_content"
97        android:layout_height="wrap_content"
98        android:layout_below="@id/last_location_result"
99        android:layout_alignParentRight="true"
100        app:useCompatPadding="true"
101        android:layout_marginRight="350dp"/>
102</RelativeLayout>
103