2023-06-11 01:21:50 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-09-25 16:46:01 +02:00
|
|
|
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
2020-03-08 12:54:18 +01:00
|
|
|
|
2020-05-15 09:23:06 +02:00
|
|
|
<PreferenceCategory app:title="@string/theme_header">
|
2020-03-08 12:54:18 +01:00
|
|
|
<ListPreference
|
2020-10-04 23:27:06 +02:00
|
|
|
app:defaultValue="default"
|
2020-05-15 09:23:06 +02:00
|
|
|
app:entries="@array/theme_entries"
|
|
|
|
app:entryValues="@array/theme_values"
|
|
|
|
app:key="theme"
|
|
|
|
app:title="@string/theme_title"
|
2020-12-12 00:51:06 +01:00
|
|
|
app:useSimpleSummaryProvider="true"
|
|
|
|
app:icon="@drawable/palette_black_24dp"/>
|
2022-07-08 23:20:44 +02:00
|
|
|
|
|
|
|
<org.pixeldroid.app.settings.ColorPreference
|
2022-07-10 13:42:19 +02:00
|
|
|
android:title="@string/accentColorTitle"
|
2022-07-08 23:20:44 +02:00
|
|
|
android:key="themeColor"
|
2022-07-10 13:42:19 +02:00
|
|
|
android:defaultValue="0"
|
|
|
|
android:summary="@string/accentColorSummary" />
|
2020-03-08 12:54:18 +01:00
|
|
|
</PreferenceCategory>
|
|
|
|
|
2020-12-11 16:53:12 +01:00
|
|
|
<ListPreference
|
|
|
|
app:key="language"
|
|
|
|
app:title="@string/language"
|
|
|
|
app:icon="@drawable/translate_black_24dp" />
|
2020-12-11 16:59:02 +01:00
|
|
|
|
2023-06-11 01:21:50 +02:00
|
|
|
<CheckBoxPreference app:key="always_show_nsfw" app:title="@string/always_show_nsfw"
|
|
|
|
app:icon="@drawable/eye_black_24dp" android:defaultValue="false"
|
|
|
|
android:summary="@string/summary_always_show_nsfw"/>
|
|
|
|
|
2021-09-25 13:52:18 +02:00
|
|
|
<Preference android:title="@string/notifications_settings"
|
|
|
|
android:key="notification"
|
|
|
|
android:summary="@string/notifications_settings_summary"
|
|
|
|
app:icon="@drawable/ic_baseline_notifications_active_24">
|
|
|
|
<intent android:action="android.settings.APP_NOTIFICATION_SETTINGS">
|
|
|
|
<extra android:name="android.provider.extra.APP_PACKAGE"
|
|
|
|
android:value="@string/application_id" />
|
|
|
|
</intent>
|
|
|
|
</Preference>
|
|
|
|
|
2022-10-24 00:45:26 +02:00
|
|
|
<EditTextPreference android:title="@string/description_template"
|
|
|
|
android:key="prefill_description"
|
|
|
|
android:summary="@string/description_template_summary"
|
2022-11-25 16:50:46 +01:00
|
|
|
app:icon="@drawable/note" />
|
2022-10-24 00:45:26 +02:00
|
|
|
|
2020-12-11 16:59:02 +01:00
|
|
|
<Preference android:title="@string/about"
|
|
|
|
android:key="about"
|
2020-12-12 00:51:06 +01:00
|
|
|
android:summary="@string/about_pixeldroid"
|
|
|
|
app:icon="@drawable/info_black_24dp">
|
2020-12-11 16:59:02 +01:00
|
|
|
<intent
|
2021-05-19 11:05:44 +02:00
|
|
|
android:targetPackage="@string/application_id"
|
2021-04-22 11:47:18 +02:00
|
|
|
android:targetClass="org.pixeldroid.app.settings.AboutActivity"/>
|
2020-12-11 16:59:02 +01:00
|
|
|
</Preference>
|
2020-03-08 12:54:18 +01:00
|
|
|
</PreferenceScreen>
|