forked from upstream-mirrors/OpenTracks
7701d31bdc
Utilize styles when possible.
66 lines
2.3 KiB
XML
66 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2009 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.
|
|
-->
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
style="@style/ScrollView" >
|
|
<LinearLayout
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="vertical"
|
|
android:padding="8dp" >
|
|
<TextView
|
|
android:drawableLeft="@drawable/x_axis"
|
|
android:text="@string/chart_settings_x_axis"
|
|
style="@style/TextLarge.WithIcon" />
|
|
<RadioGroup
|
|
android:id="@+id/chart_settings_x"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content" >
|
|
<RadioButton
|
|
android:id="@+id/chart_settings_by_distance"
|
|
android:text="@string/chart_settings_by_distance"
|
|
style="@style/TextMedium" />
|
|
<RadioButton
|
|
android:id="@+id/chart_settings_by_time"
|
|
android:text="@string/chart_settings_by_time"
|
|
style="@style/TextMedium" />
|
|
</RadioGroup>
|
|
<TextView
|
|
android:drawableLeft="@drawable/y_axis"
|
|
android:text="@string/chart_settings_y_axis"
|
|
style="@style/TextLarge.WithIcon" />
|
|
<CheckBox
|
|
android:id="@+id/chart_settings_elevation"
|
|
android:text="@string/stats_elevation"
|
|
style="@style/TextMedium" />
|
|
<CheckBox
|
|
android:id="@+id/chart_settings_speed"
|
|
android:text="@string/stats_speed"
|
|
style="@style/TextMedium" />
|
|
<CheckBox
|
|
android:id="@+id/chart_settings_power"
|
|
android:text="@string/sensor_state_power"
|
|
style="@style/TextMedium" />
|
|
<CheckBox
|
|
android:id="@+id/chart_settings_cadence"
|
|
android:text="@string/sensor_state_cadence"
|
|
style="@style/TextMedium" />
|
|
<CheckBox
|
|
android:id="@+id/chart_settings_heart_rate"
|
|
android:text="@string/sensor_state_heart_rate"
|
|
style="@style/TextMedium" />
|
|
</LinearLayout>
|
|
</ScrollView> |