50 lines
1.9 KiB
XML
50 lines
1.9 KiB
XML
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<PreferenceCategory app:title="@string/theme_header">
|
|
<ListPreference
|
|
app:defaultValue="default"
|
|
app:entries="@array/theme_entries"
|
|
app:entryValues="@array/theme_values"
|
|
app:key="theme"
|
|
app:title="@string/theme_title"
|
|
app:useSimpleSummaryProvider="true"
|
|
app:icon="@drawable/palette_black_24dp"/>
|
|
|
|
<org.pixeldroid.app.settings.ColorPreference
|
|
android:title="@string/accentColorTitle"
|
|
android:key="themeColor"
|
|
android:defaultValue="0"
|
|
android:summary="@string/accentColorSummary" />
|
|
</PreferenceCategory>
|
|
|
|
<ListPreference
|
|
app:key="language"
|
|
app:title="@string/language"
|
|
app:icon="@drawable/translate_black_24dp" />
|
|
|
|
<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>
|
|
|
|
<EditTextPreference android:title="@string/description_template"
|
|
android:key="prefill_description"
|
|
android:summary="@string/description_template_summary"
|
|
app:icon="@drawable/note" />
|
|
|
|
<Preference android:title="@string/about"
|
|
android:key="about"
|
|
android:summary="@string/about_pixeldroid"
|
|
app:icon="@drawable/info_black_24dp">
|
|
<intent
|
|
android:targetPackage="@string/application_id"
|
|
android:targetClass="org.pixeldroid.app.settings.AboutActivity"/>
|
|
</Preference>
|
|
</PreferenceScreen>
|