184 lines
7.6 KiB
XML
184 lines
7.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2016 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.
|
|
-->
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:scrollbars="none"
|
|
android:layout_weight="1">
|
|
<TableLayout
|
|
android:id="@+id/table_layout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="30dp"
|
|
android:layout_marginLeft="30dp"
|
|
android:isScrollContainer="true">
|
|
<!-- Location Rows -->
|
|
<TableRow
|
|
android:id="@+id/location_title_row"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="5dp">
|
|
<TextView
|
|
android:id="@+id/location_title_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/location_title"
|
|
android:textStyle="bold"/>
|
|
</TableRow>
|
|
<TableRow
|
|
android:id="@+id/location_info_row"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="5dp">
|
|
<TextView
|
|
android:id="@+id/location_info"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:scrollbars="vertical"/>
|
|
</TableRow>
|
|
|
|
<!-- Sensor Rows -->
|
|
<TableRow
|
|
android:id="@+id/sensor_title_row"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginBottom="5dp">
|
|
<TextView
|
|
android:id="@+id/sensor_title_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/sensor_title"
|
|
android:textStyle="bold"/>
|
|
</TableRow>
|
|
<TableRow
|
|
android:id="@+id/accel_info_row"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="5dp">
|
|
<TextView
|
|
android:id="@+id/accel_info"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
</TableRow>
|
|
<TableRow
|
|
android:id="@+id/gyro_info_row"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="5dp">
|
|
<TextView
|
|
android:id="@+id/gyro_info"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
</TableRow>
|
|
<TableRow
|
|
android:id="@+id/mag_info_row"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="5dp">
|
|
<TextView
|
|
android:id="@+id/mag_info"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
</TableRow>
|
|
<TableRow
|
|
android:id="@+id/accel_uncal_info_row"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="5dp">
|
|
<TextView
|
|
android:id="@+id/accel_uncal_info"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
</TableRow>
|
|
<TableRow
|
|
android:id="@+id/gyro_uncal_info_row"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="5dp">
|
|
<TextView
|
|
android:id="@+id/gyro_uncal_info"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
</TableRow>
|
|
<TableRow
|
|
android:id="@+id/accel_limited_axes_info_row"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="5dp">
|
|
<TextView
|
|
android:id="@+id/accel_limited_axes_info"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
</TableRow>
|
|
<TableRow
|
|
android:id="@+id/gyro_limited_axes_info_row"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="5dp">
|
|
<TextView
|
|
android:id="@+id/gyro_limited_axes_info"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
</TableRow>
|
|
<TableRow
|
|
android:id="@+id/accel_limited_axes_uncal_info_row"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="5dp">
|
|
<TextView
|
|
android:id="@+id/accel_limited_axes_uncal_info"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
</TableRow>
|
|
<TableRow
|
|
android:id="@+id/gyro_limited_axes_uncal_info_row"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="5dp">
|
|
<TextView
|
|
android:id="@+id/gyro_limited_axes_uncal_info"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
</TableRow>
|
|
|
|
<!-- Car Sensor Rows -->
|
|
<TableRow
|
|
android:id="@+id/car_sensor_title_row"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginBottom="5dp">
|
|
<TextView
|
|
android:id="@+id/car_sensor_title_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/car_sensor_title"
|
|
android:textStyle="bold"/>
|
|
</TableRow>
|
|
<TableRow
|
|
android:id="@+id/car_sensor_info_row"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="5dp">
|
|
<TextView
|
|
android:id="@+id/car_sensor_info"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
</TableRow>
|
|
|
|
</TableLayout>
|
|
</ScrollView> |