-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue with notification on 2.3 android devices.
Fixed ignore app background issue in 2.3 android devices. Changed SwitchPreference to CheckboxPreference in android devices below api 14.
- Loading branch information
Showing
4 changed files
with
79 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<PreferenceScreen | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
> | ||
<PreferenceCategory | ||
android:title="@string/preferences_general_category" | ||
android:key="pref_key_general_settings" | ||
> | ||
<SwitchPreference | ||
android:key="@string/preferences_general_skip_experimental_key" | ||
android:summary="@string/preferences_general_skip_experimental_summary" | ||
android:title="@string/preferences_general_skip_experimental_title" | ||
android:defaultValue="false" | ||
/> | ||
<ListPreference | ||
android:key="@string/preferences_general_theme_key" | ||
android:title="@string/preferences_general_theme_title" | ||
android:summary="%s" | ||
android:entries="@array/theme_values" | ||
android:entryValues="@array/theme_values" | ||
android:defaultValue="@string/theme_blue" | ||
/> | ||
<ListPreference | ||
android:key="@string/preferences_general_notification_key" | ||
android:title="@string/preferences_general_notification_title" | ||
android:summary="%s" | ||
android:entries="@array/notification_values" | ||
android:entryValues="@array/notification_values" | ||
android:defaultValue="@string/notification_always" | ||
/> | ||
<ListPreference | ||
android:key="@string/preferences_general_alarm_key" | ||
android:title="@string/preferences_general_alarm_title" | ||
android:summary="%s" | ||
android:entries="@array/alarm_values" | ||
android:entryValues="@array/alarm_values" | ||
android:defaultValue="@string/alarm_daily" | ||
/> | ||
<EditTextPreference | ||
android:key="@string/preferences_general_ignorelist_key" | ||
android:title="@string/preferences_general_ignorelist_title" | ||
android:summary="@string/preferences_general_ignorelist_summary" | ||
android:defaultValue="@string/preferences_general_ignorelist_value" | ||
/> | ||
</PreferenceCategory> | ||
|
||
<PreferenceCategory | ||
android:title="@string/preferences_sources_category" | ||
android:key="pref_key_sources_settings" | ||
> | ||
<SwitchPreference | ||
android:key="@string/preferences_general_use_apkmirror_key" | ||
android:summary="@string/preferences_general_use_apkmirror_summary" | ||
android:title="@string/preferences_general_use_apkmirror_title" | ||
android:defaultValue="true" | ||
/> | ||
<SwitchPreference | ||
android:key="@string/preferences_general_use_googleplay_key" | ||
android:summary="@string/preferences_general_use_googleplay_summary" | ||
android:title="@string/preferences_general_use_googleplay_title" | ||
android:defaultValue="false" | ||
/> | ||
<SwitchPreference | ||
android:key="@string/preferences_general_use_apkpure_key" | ||
android:summary="@string/preferences_general_use_apkpure_summary" | ||
android:title="@string/preferences_general_use_apkpure_title" | ||
android:defaultValue="false" | ||
/> | ||
</PreferenceCategory> | ||
</PreferenceScreen> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters