parent
387b37e0a8
commit
8d2c3974bd
@ -0,0 +1,26 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||||
|
xmlns:tools="http://schemas.android.com/tools" |
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||||
|
android:id="@+id/activity_view_thread" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="match_parent" |
||||||
|
tools:context="com.keylesspalace.tusky.PreferencesActivity"> |
||||||
|
|
||||||
|
<include layout="@layout/toolbar_basic" /> |
||||||
|
|
||||||
|
<FrameLayout |
||||||
|
android:id="@+id/fragment_container" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="match_parent" |
||||||
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" /> |
||||||
|
|
||||||
|
<include layout="@layout/toolbar_shadow_shim" /> |
||||||
|
|
||||||
|
<FrameLayout |
||||||
|
android:id="@+id/overlay_fragment_container" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="match_parent"> |
||||||
|
</FrameLayout> |
||||||
|
|
||||||
|
</android.support.design.widget.CoordinatorLayout> |
@ -0,0 +1,58 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<PreferenceScreen android:key="notificationSettings" |
||||||
|
android:title="@string/pref_title_edit_notification_settings" |
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"> |
||||||
|
|
||||||
|
<CheckBoxPreference |
||||||
|
android:defaultValue="true" |
||||||
|
android:key="notificationsEnabled" |
||||||
|
android:title="@string/pref_title_notifications_enabled" /> |
||||||
|
|
||||||
|
<PreferenceCategory |
||||||
|
android:dependency="notificationsEnabled" |
||||||
|
android:title="@string/pref_title_notification_filters"> |
||||||
|
|
||||||
|
<CheckBoxPreference |
||||||
|
android:defaultValue="true" |
||||||
|
android:key="notificationFilterMentions" |
||||||
|
android:title="@string/pref_title_notification_filter_mentions" /> |
||||||
|
|
||||||
|
<CheckBoxPreference |
||||||
|
android:defaultValue="true" |
||||||
|
android:key="notificationFilterFollows" |
||||||
|
android:title="@string/pref_title_notification_filter_follows" /> |
||||||
|
|
||||||
|
<CheckBoxPreference |
||||||
|
android:defaultValue="true" |
||||||
|
android:key="notificationFilterReblogs" |
||||||
|
android:title="@string/pref_title_notification_filter_reblogs" /> |
||||||
|
|
||||||
|
<CheckBoxPreference |
||||||
|
android:defaultValue="true" |
||||||
|
android:key="notificationFilterFavourites" |
||||||
|
android:title="@string/pref_title_notification_filter_favourites" /> |
||||||
|
|
||||||
|
</PreferenceCategory> |
||||||
|
|
||||||
|
<PreferenceCategory |
||||||
|
android:dependency="notificationsEnabled" |
||||||
|
android:title="@string/pref_title_notification_alerts"> |
||||||
|
|
||||||
|
<CheckBoxPreference |
||||||
|
android:defaultValue="true" |
||||||
|
android:key="notificationAlertSound" |
||||||
|
android:title="@string/pref_title_notification_alert_sound" /> |
||||||
|
|
||||||
|
<CheckBoxPreference |
||||||
|
android:defaultValue="true" |
||||||
|
android:key="notificationAlertVibrate" |
||||||
|
android:title="@string/pref_title_notification_alert_vibrate" /> |
||||||
|
|
||||||
|
<CheckBoxPreference |
||||||
|
android:defaultValue="true" |
||||||
|
android:key="notificationAlertLight" |
||||||
|
android:title="@string/pref_title_notification_alert_light" /> |
||||||
|
|
||||||
|
</PreferenceCategory> |
||||||
|
|
||||||
|
</PreferenceScreen> |
@ -0,0 +1,16 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<PreferenceScreen android:title="@string/pref_title_status_tabs" |
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"> |
||||||
|
|
||||||
|
<PreferenceCategory android:title="@string/title_home"> |
||||||
|
<CheckBoxPreference |
||||||
|
android:defaultValue="true" |
||||||
|
android:key="tabFilterHomeBoosts" |
||||||
|
android:title="@string/pref_title_show_boosts" /> |
||||||
|
<CheckBoxPreference |
||||||
|
android:defaultValue="true" |
||||||
|
android:key="tabFilterHomeReplies" |
||||||
|
android:title="@string/pref_title_show_replies" /> |
||||||
|
</PreferenceCategory> |
||||||
|
|
||||||
|
</PreferenceScreen> |
Loading…
Reference in new issue