mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-02 09:33:06 +02:00
c604c12297
- Need to generate the value as one string rather than always putting the unit on the right.
93 lines
2.6 KiB
XML
93 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2010 Google Inc.
|
|
|
|
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.
|
|
-->
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_height="fill_parent"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="vertical">
|
|
<ScrollView
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_width="fill_parent">
|
|
<LinearLayout
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="vertical">
|
|
|
|
<!-- Sensor state -->
|
|
<TextView
|
|
android:text="@string/menu_sensor_state"
|
|
style="@style/SensorStateHeader"
|
|
/>
|
|
<TextView
|
|
android:id="@+id/sensor_state"
|
|
style="@style/SensorStateValue"
|
|
/>
|
|
|
|
<!-- Last sensor time -->
|
|
<TextView
|
|
android:text="@string/sensor_state_last_sensor_time"
|
|
style="@style/SensorStateHeader"
|
|
/>
|
|
<TextView
|
|
android:id="@+id/sensor_state_last_sensor_time"
|
|
style="@style/SensorStateValue"
|
|
/>
|
|
|
|
<!-- Power -->
|
|
<TextView
|
|
android:text="@string/sensor_state_power"
|
|
style="@style/SensorStateHeader"
|
|
/>
|
|
<TextView
|
|
android:id="@+id/sensor_state_power"
|
|
style="@style/SensorStateValue"
|
|
/>
|
|
|
|
<!-- Cadence -->
|
|
<TextView
|
|
android:text="@string/sensor_state_cadence"
|
|
style="@style/SensorStateHeader"
|
|
/>
|
|
<TextView
|
|
android:id="@+id/sensor_state_cadence"
|
|
style="@style/SensorStateValue"
|
|
/>
|
|
|
|
<!-- Heart rate -->
|
|
<TextView
|
|
android:text="@string/sensor_state_heart_rate"
|
|
style="@style/SensorStateHeader"
|
|
/>
|
|
<TextView
|
|
android:id="@+id/sensor_state_heart_rate"
|
|
style="@style/SensorStateValue"
|
|
/>
|
|
|
|
<!-- Battery level -->
|
|
<TextView
|
|
android:text="@string/sensor_state_battery"
|
|
style="@style/SensorStateHeader"
|
|
/>
|
|
<TextView
|
|
android:id="@+id/sensor_state_battery"
|
|
style="@style/SensorStateValue"
|
|
/>
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
</LinearLayout>
|