5135daad2c
* First step toward synchronized content filters * Add simple filter management UI * Remove old regex filter UI * More cleanup * Escape filter phrases when applying them via regex * Apply code review feedback * Fix live timeline update when filters change
67 lines
2.3 KiB
XML
67 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:key="@string/preferences_file_key">
|
|
|
|
<Preference
|
|
android:key="notificationPreference"
|
|
android:title="@string/pref_title_edit_notification_settings" />
|
|
|
|
<Preference
|
|
android:key="tabPreference"
|
|
android:title="@string/title_tab_preferences" />
|
|
|
|
<Preference
|
|
android:key="mutedUsersPreference"
|
|
android:title="@string/action_view_mutes" />
|
|
|
|
<Preference
|
|
android:key="blockedUsersPreference"
|
|
android:title="@string/action_view_blocks" />
|
|
|
|
<PreferenceCategory android:title="@string/pref_publishing">
|
|
|
|
<ListPreference
|
|
android:defaultValue="public"
|
|
android:entries="@array/post_privacy_names"
|
|
android:entryValues="@array/post_privacy_values"
|
|
android:key="defaultPostPrivacy"
|
|
android:summary="%s"
|
|
android:title="@string/pref_default_post_privacy" />
|
|
|
|
<SwitchPreference
|
|
android:defaultValue="false"
|
|
android:icon="@drawable/ic_eye_24dp"
|
|
android:key="defaultMediaSensitivity"
|
|
android:title="@string/pref_default_media_sensitivity" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory android:title="@string/pref_title_timelines">
|
|
|
|
<SwitchPreference
|
|
android:key="mediaPreviewEnabled"
|
|
android:title="@string/pref_title_show_media_preview" />
|
|
|
|
<SwitchPreference
|
|
android:key="alwaysShowSensitiveMedia"
|
|
android:title="@string/pref_title_alway_show_sensitive_media" />
|
|
</PreferenceCategory>
|
|
<PreferenceCategory android:title="@string/pref_title_timeline_filters">
|
|
<Preference
|
|
android:key="publicFilters"
|
|
android:title="@string/pref_title_public_filter_keywords"
|
|
/>
|
|
<Preference
|
|
android:key="notificationFilters"
|
|
android:title="@string/title_notifications"
|
|
/>
|
|
<Preference
|
|
android:key="homeFilters"
|
|
android:title="@string/title_home"
|
|
/>
|
|
<Preference
|
|
android:key="threadFilters"
|
|
android:title="@string/pref_title_thread_filter_keywords"
|
|
/>
|
|
</PreferenceCategory>
|
|
</PreferenceScreen>
|