1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2016 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
17        android:layout_width="wrap_content"
18        android:layout_height="wrap_content"
19        android:scrollbars="none"
20        android:layout_weight="1">
21    <TableLayout
22            android:id="@+id/table_layout"
23            android:layout_width="wrap_content"
24            android:layout_height="wrap_content"
25            android:layout_marginRight="30dp"
26            android:layout_marginLeft="30dp"
27            android:isScrollContainer="true">
28        <!-- Location Rows -->
29        <TableRow
30                android:id="@+id/location_title_row"
31                android:layout_width="wrap_content"
32                android:layout_height="wrap_content"
33                android:layout_marginBottom="5dp">
34            <TextView
35                android:id="@+id/location_title_text"
36                android:layout_width="wrap_content"
37                android:layout_height="wrap_content"
38                android:text="@string/location_title"
39                android:textStyle="bold"/>
40        </TableRow>
41        <TableRow
42                android:id="@+id/location_info_row"
43                android:layout_width="wrap_content"
44                android:layout_height="wrap_content"
45                android:layout_marginBottom="5dp">
46            <TextView
47                android:id="@+id/location_info"
48                android:layout_width="wrap_content"
49                android:layout_height="wrap_content"
50                android:scrollbars="vertical"/>
51        </TableRow>
52
53        <!-- Sensor Rows -->
54        <TableRow
55                android:id="@+id/sensor_title_row"
56                android:layout_width="wrap_content"
57                android:layout_height="wrap_content"
58                android:layout_marginTop="5dp"
59                android:layout_marginBottom="5dp">
60            <TextView
61                android:id="@+id/sensor_title_text"
62                android:layout_width="wrap_content"
63                android:layout_height="wrap_content"
64                android:text="@string/sensor_title"
65                android:textStyle="bold"/>
66        </TableRow>
67        <TableRow
68                android:id="@+id/accel_info_row"
69                android:layout_width="wrap_content"
70                android:layout_height="wrap_content"
71                android:layout_marginBottom="5dp">
72            <TextView
73                android:id="@+id/accel_info"
74                android:layout_width="wrap_content"
75                android:layout_height="wrap_content"/>
76        </TableRow>
77        <TableRow
78                android:id="@+id/gyro_info_row"
79                android:layout_width="wrap_content"
80                android:layout_height="wrap_content"
81                android:layout_marginBottom="5dp">
82            <TextView
83                android:id="@+id/gyro_info"
84                android:layout_width="wrap_content"
85                android:layout_height="wrap_content"/>
86        </TableRow>
87        <TableRow
88                android:id="@+id/mag_info_row"
89                android:layout_width="wrap_content"
90                android:layout_height="wrap_content"
91                android:layout_marginBottom="5dp">
92            <TextView
93                android:id="@+id/mag_info"
94                android:layout_width="wrap_content"
95                android:layout_height="wrap_content"/>
96        </TableRow>
97        <TableRow
98                android:id="@+id/accel_uncal_info_row"
99                android:layout_width="wrap_content"
100                android:layout_height="wrap_content"
101                android:layout_marginBottom="5dp">
102            <TextView
103                android:id="@+id/accel_uncal_info"
104                android:layout_width="wrap_content"
105                android:layout_height="wrap_content"/>
106        </TableRow>
107        <TableRow
108                android:id="@+id/gyro_uncal_info_row"
109                android:layout_width="wrap_content"
110                android:layout_height="wrap_content"
111                android:layout_marginBottom="5dp">
112            <TextView
113                android:id="@+id/gyro_uncal_info"
114                android:layout_width="wrap_content"
115                android:layout_height="wrap_content"/>
116        </TableRow>
117        <TableRow
118                android:id="@+id/accel_limited_axes_info_row"
119                android:layout_width="wrap_content"
120                android:layout_height="wrap_content"
121                android:layout_marginBottom="5dp">
122            <TextView
123                android:id="@+id/accel_limited_axes_info"
124                android:layout_width="wrap_content"
125                android:layout_height="wrap_content"/>
126        </TableRow>
127        <TableRow
128                android:id="@+id/gyro_limited_axes_info_row"
129                android:layout_width="wrap_content"
130                android:layout_height="wrap_content"
131                android:layout_marginBottom="5dp">
132            <TextView
133                android:id="@+id/gyro_limited_axes_info"
134                android:layout_width="wrap_content"
135                android:layout_height="wrap_content"/>
136        </TableRow>
137        <TableRow
138                android:id="@+id/accel_limited_axes_uncal_info_row"
139                android:layout_width="wrap_content"
140                android:layout_height="wrap_content"
141                android:layout_marginBottom="5dp">
142            <TextView
143                android:id="@+id/accel_limited_axes_uncal_info"
144                android:layout_width="wrap_content"
145                android:layout_height="wrap_content"/>
146        </TableRow>
147        <TableRow
148                android:id="@+id/gyro_limited_axes_uncal_info_row"
149                android:layout_width="wrap_content"
150                android:layout_height="wrap_content"
151                android:layout_marginBottom="5dp">
152            <TextView
153                android:id="@+id/gyro_limited_axes_uncal_info"
154                android:layout_width="wrap_content"
155                android:layout_height="wrap_content"/>
156        </TableRow>
157        <TableRow
158                android:id="@+id/heading_info_row"
159                android:layout_width="wrap_content"
160                android:layout_height="wrap_content"
161                android:layout_marginBottom="5dp">
162            <TextView
163                android:id="@+id/heading_info"
164                android:layout_width="wrap_content"
165                android:layout_height="wrap_content"/>
166        </TableRow>
167
168        <!-- Car Sensor Rows -->
169        <TableRow
170                android:id="@+id/car_sensor_title_row"
171                android:layout_width="wrap_content"
172                android:layout_height="wrap_content"
173                android:layout_marginTop="5dp"
174                android:layout_marginBottom="5dp">
175            <TextView
176                android:id="@+id/car_sensor_title_text"
177                android:layout_width="wrap_content"
178                android:layout_height="wrap_content"
179                android:text="@string/car_sensor_title"
180                android:textStyle="bold"/>
181        </TableRow>
182        <TableRow
183                android:id="@+id/car_sensor_info_row"
184                android:layout_width="wrap_content"
185                android:layout_height="wrap_content"
186                android:layout_marginBottom="5dp">
187            <TextView
188                android:id="@+id/car_sensor_info"
189                android:layout_width="wrap_content"
190                android:layout_height="wrap_content"/>
191        </TableRow>
192
193    </TableLayout>
194</ScrollView>