summaryrefslogtreecommitdiffstats
path: root/res/xml/weather_settings.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/xml/weather_settings.xml')
-rw-r--r--res/xml/weather_settings.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/res/xml/weather_settings.xml b/res/xml/weather_settings.xml
new file mode 100644
index 0000000..17df51a
--- /dev/null
+++ b/res/xml/weather_settings.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2016 The CyanogenMod 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/com.android.settings"
+ android:title="@string/weather_settings_general_settings_title"
+ settings:keywords="@string/weather_settings_keyword">
+ <PreferenceCategory
+ android:key="weather_general_settings"
+ android:title="@string/weather_settings_general_settings_title"
+ android:order="0">
+ <ListPreference
+ android:key="weather_temperature_unit"
+ android:entries="@array/weather_temp_unit_entries"
+ android:entryValues="@array/weather_temp_unit_values"
+ android:title="@string/weather_settings_temp_units_title"
+ android:summary="%s"
+ android:persistent="false" />
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="weather_service_providers"
+ android:title="@string/weather_settings_providers_title"
+ android:order="1">
+
+ </PreferenceCategory>
+</PreferenceScreen>