Alarm Ppreferences applied to code

This commit is contained in:
Phillip Hsu
2016-06-07 02:03:05 -07:00
parent 4b8bbcf5f2
commit dca0a258f8
11 changed files with 87 additions and 49 deletions
+9 -1
View File
@@ -72,9 +72,17 @@
<string name="saturday">Saturday</string>
<string name="sunday">Sunday</string>
<string name="monday">Monday</string>
<string-array name="array_first_day_of_week">
<string name="value_saturday">6</string>
<string name="value_sunday">0</string>
<string name="value_monday">1</string>
<string-array name="entries_first_day_of_week">
<item>@string/saturday</item>
<item>@string/sunday</item>
<item>@string/monday</item>
</string-array>
<string-array name="values_first_day_of_week">
<item>@string/value_saturday</item>
<item>@string/value_sunday</item>
<item>@string/value_monday</item>
</string-array>
</resources>
+3 -3
View File
@@ -51,9 +51,9 @@
android:key="@string/key_first_day_of_week"
android:title="@string/title_first_day_of_week"
android:dialogTitle="@string/title_first_day_of_week"
android:entries="@array/array_first_day_of_week"
android:entryValues="@array/array_first_day_of_week"
android:defaultValue="@string/sunday"
android:entries="@array/entries_first_day_of_week"
android:entryValues="@array/values_first_day_of_week"
android:defaultValue="@string/value_sunday"
android:summary="%s"/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/title_category_timers">