64 lines
2.9 KiB
XML
64 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2019 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.
|
|
-->
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:settings="http://schemas.android.com/apk/res-auto"
|
|
android:title="@string/units_settings"
|
|
android:key="@string/psk_units">
|
|
<ListPreference
|
|
android:key="@string/pk_units_speed"
|
|
android:title="@string/units_speed_title"
|
|
android:dialogTitle="@string/units_speed_title"
|
|
settings:controller="com.android.car.settings.units.UnitsSpeedPreferenceController"/>
|
|
|
|
<ListPreference
|
|
android:key="@string/pk_units_distance"
|
|
android:title="@string/units_distance_title"
|
|
android:dialogTitle="@string/units_distance_title"
|
|
settings:controller="com.android.car.settings.units.UnitsDistancePreferenceController"/>
|
|
|
|
<ListPreference
|
|
android:key="@string/pk_units_fuel_consumption"
|
|
android:title="@string/units_fuel_consumption_title"
|
|
android:dialogTitle="@string/units_fuel_consumption_title"
|
|
settings:controller="com.android.car.settings.units.UnitsFuelConsumptionPreferenceController"/>
|
|
|
|
<ListPreference
|
|
android:key="@string/pk_units_energy_consumption"
|
|
android:title="@string/units_energy_consumption_title"
|
|
android:dialogTitle="@string/units_energy_consumption_title"
|
|
settings:controller="com.android.car.settings.units.UnitsEnergyConsumptionPreferenceController"/>
|
|
|
|
<ListPreference
|
|
android:key="@string/pk_units_temperature"
|
|
android:title="@string/units_temperature_title"
|
|
android:dialogTitle="@string/units_temperature_title"
|
|
settings:controller="com.android.car.settings.units.UnitsTemperaturePreferenceController"/>
|
|
|
|
<ListPreference
|
|
android:key="@string/pk_units_volume"
|
|
android:title="@string/units_volume_title"
|
|
android:dialogTitle="@string/units_volume_title"
|
|
settings:controller="com.android.car.settings.units.UnitsVolumePreferenceController"/>
|
|
|
|
<ListPreference
|
|
android:key="@string/pk_units_pressure"
|
|
android:title="@string/units_pressure_title"
|
|
android:dialogTitle="@string/units_pressure_title"
|
|
settings:controller="com.android.car.settings.units.UnitsPressurePreferenceController"/>
|
|
|
|
</PreferenceScreen>
|