|
|
@ -17,9 +17,15 @@ |
|
|
|
--> |
|
|
|
--> |
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" > |
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" > |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<CheckBoxPreference |
|
|
|
|
|
|
|
android:key="notifications_enabledrss" |
|
|
|
|
|
|
|
android:title="@string/pref_notifications_rss" |
|
|
|
|
|
|
|
android:summary="@string/pref_notifications_info" |
|
|
|
|
|
|
|
android:defaultValue="true" /> |
|
|
|
|
|
|
|
|
|
|
|
<CheckBoxPreference |
|
|
|
<CheckBoxPreference |
|
|
|
android:key="notifications_enabled" |
|
|
|
android:key="notifications_enabled" |
|
|
|
android:title="@string/pref_notifications" |
|
|
|
android:title="@string/pref_notifications_torrent" |
|
|
|
android:summary="@string/pref_notifications_info" |
|
|
|
android:summary="@string/pref_notifications_info" |
|
|
|
android:defaultValue="true" /> |
|
|
|
android:defaultValue="true" /> |
|
|
|
|
|
|
|
|
|
|
@ -29,36 +35,31 @@ |
|
|
|
android:summary="@string/pref_notifyinterval_info" |
|
|
|
android:summary="@string/pref_notifyinterval_info" |
|
|
|
android:entries="@array/pref_notifyinterval_types" |
|
|
|
android:entries="@array/pref_notifyinterval_types" |
|
|
|
android:entryValues="@array/pref_notifyinterval_values" |
|
|
|
android:entryValues="@array/pref_notifyinterval_values" |
|
|
|
android:defaultValue="10800" |
|
|
|
android:defaultValue="10800" /> |
|
|
|
android:dependency="notifications_enabled" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<RingtonePreference |
|
|
|
<RingtonePreference |
|
|
|
android:key="notifications_sound" |
|
|
|
android:key="notifications_sound" |
|
|
|
android:title="@string/pref_notifysound" |
|
|
|
android:title="@string/pref_notifysound" |
|
|
|
android:ringtoneType="notification" |
|
|
|
android:ringtoneType="notification" |
|
|
|
android:showDefault="true" |
|
|
|
android:showDefault="true" |
|
|
|
android:showSilent="true" |
|
|
|
android:showSilent="true" /> |
|
|
|
android:dependency="notifications_enabled" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<CheckBoxPreference |
|
|
|
<CheckBoxPreference |
|
|
|
android:key="notifications_vibrate" |
|
|
|
android:key="notifications_vibrate" |
|
|
|
android:title="@string/pref_notifyvibrate" |
|
|
|
android:title="@string/pref_notifyvibrate" |
|
|
|
android:defaultValue="false" |
|
|
|
android:defaultValue="false" /> |
|
|
|
android:dependency="notifications_enabled" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<net.margaritov.preference.colorpicker.ColorPickerPreference |
|
|
|
<net.margaritov.preference.colorpicker.ColorPickerPreference |
|
|
|
android:key="notifications_ledcolour" |
|
|
|
android:key="notifications_ledcolour" |
|
|
|
android:title="@string/pref_notifyled" |
|
|
|
android:title="@string/pref_notifyled" |
|
|
|
android:summary="@string/pref_notifyled_info" |
|
|
|
android:summary="@string/pref_notifyled_info" |
|
|
|
android:defaultValue="@color/ledgreen" |
|
|
|
android:defaultValue="@color/ledgreen" |
|
|
|
android:dependency="notifications_enabled" |
|
|
|
|
|
|
|
alphaSlider="false" /> |
|
|
|
alphaSlider="false" /> |
|
|
|
|
|
|
|
|
|
|
|
<CheckBoxPreference |
|
|
|
<CheckBoxPreference |
|
|
|
android:key="notifications_adwnotify" |
|
|
|
android:key="notifications_adwnotify" |
|
|
|
android:title="@string/pref_adw" |
|
|
|
android:title="@string/pref_adw" |
|
|
|
android:summary="@string/pref_adw_info" |
|
|
|
android:summary="@string/pref_adw_info" |
|
|
|
android:defaultValue="false" |
|
|
|
android:defaultValue="false" /> |
|
|
|
android:dependency="notifications_enabled" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PreferenceScreen> |
|
|
|
</PreferenceScreen> |
|
|
|