Add list list preference for #148

This commit is contained in:
l3d00m
2015-09-02 12:02:40 +02:00
parent eb6caadd42
commit 5e3d75bbd8
7 changed files with 90 additions and 44 deletions
+2 -2
View File
@@ -106,8 +106,8 @@
android:defaultValue="true"
android:key="pref_key_ticker" />
<Preference
android:defaultValue="false"
android:key="pref_key_notifications_private" />
android:defaultValue="0"
android:key="pref_key_notification_private" />
<Preference
android:defaultValue="true"
android:key="pref_key_vibration" />
@@ -39,14 +39,14 @@
android:summary="@string/pref_ticker_summary"
android:title="@string/pref_ticker"
android:widgetLayout="@layout/view_checkbox" />
<CheckBoxPreference
android:defaultValue="false"
android:dependency="pref_key_notifications"
android:key="pref_key_notifications_private"
<ListPreference
android:defaultValue="0"
android:entries="@array/notification_private_options"
android:entryValues="@array/enter_button_values"
android:key="pref_key_notification_private"
android:layout="@layout/list_item_preference"
android:summary="@string/pref_notifications_private_summary"
android:title="@string/pref_notifications_private"
android:widgetLayout="@layout/view_checkbox" />
android:title="@string/pref_notifications_private" />
<CheckBoxPreference
android:defaultValue="true"
android:dependency="pref_key_notifications"