2018-12-03 09:07:07 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-10-22 20:21:03 +02:00
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-12-03 09:07:07 +01:00
|
|
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/svContent"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
|
|
|
|
android:fillViewport="true"
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
android:paddingBottom="128dp"
|
|
|
|
android:scrollbarStyle="outsideOverlay"
|
|
|
|
|
2019-10-22 20:21:03 +02:00
|
|
|
tools:ignore="Autofill">
|
2018-12-03 09:07:07 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-10-22 20:21:03 +02:00
|
|
|
android:orientation="vertical">
|
2018-12-03 09:07:07 +01:00
|
|
|
|
2019-10-22 20:21:03 +02:00
|
|
|
<View style="@style/setting_divider" />
|
2018-12-03 09:07:07 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/setting_row_label"
|
2019-10-22 20:21:03 +02:00
|
|
|
android:text="@string/notification_style_before_oreo" />
|
2018-12-03 09:07:07 +01:00
|
|
|
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cbNotificationSound"
|
|
|
|
style="@style/setting_horizontal_stretch"
|
2019-10-22 20:21:03 +02:00
|
|
|
android:text="@string/sound" />
|
2018-12-03 09:07:07 +01:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cbNotificationVibration"
|
|
|
|
style="@style/setting_horizontal_stretch"
|
2019-10-22 20:21:03 +02:00
|
|
|
android:text="@string/vibration" />
|
2018-12-03 09:07:07 +01:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cbNotificationLED"
|
|
|
|
style="@style/setting_horizontal_stretch"
|
2019-10-22 20:21:03 +02:00
|
|
|
android:text="@string/led" />
|
2018-12-03 09:07:07 +01:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/setting_horizontal_stretch"
|
2019-10-22 20:21:03 +02:00
|
|
|
android:text="@string/notification_on_off_desc" />
|
2018-12-03 09:07:07 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
2019-10-22 20:21:03 +02:00
|
|
|
<View style="@style/setting_divider" />
|
2018-12-03 09:07:07 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/setting_row_label"
|
|
|
|
android:labelFor="@+id/etPullNotificationCheckInterval"
|
2019-10-22 20:21:03 +02:00
|
|
|
android:text="@string/pull_notification_check_interval" />
|
2018-12-03 09:07:07 +01:00
|
|
|
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/etPullNotificationCheckInterval"
|
|
|
|
style="@style/setting_horizontal_stretch"
|
2019-10-22 20:21:03 +02:00
|
|
|
android:inputType="number" />
|
2018-12-03 09:07:07 +01:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-10-22 20:21:03 +02:00
|
|
|
<View style="@style/setting_divider" />
|
2019-01-16 14:27:26 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/setting_row_label"
|
2019-10-22 20:21:03 +02:00
|
|
|
android:text="@string/show_acct_in_system_notification" />
|
2019-01-16 14:27:26 +01:00
|
|
|
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
|
|
|
|
<Switch
|
|
|
|
android:id="@+id/swShowAcctInSystemNotification"
|
|
|
|
style="@style/setting_horizontal_stretch"
|
2019-10-22 20:21:03 +02:00
|
|
|
android:gravity="center" />
|
2019-01-16 14:27:26 +01:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-10-22 20:21:03 +02:00
|
|
|
<View style="@style/setting_divider" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/setting_row_label"
|
|
|
|
android:text="@string/separate_notification_group_for_reply" />
|
|
|
|
|
|
|
|
<Switch
|
|
|
|
android:id="@+id/swSeparateReplyNotificationGroup"
|
|
|
|
style="@style/setting_row_form"
|
|
|
|
android:gravity="center" />
|
|
|
|
|
|
|
|
<View style="@style/setting_divider" />
|
2019-01-16 14:27:26 +01:00
|
|
|
|
2020-01-16 07:54:59 +01:00
|
|
|
<TextView
|
|
|
|
style="@style/setting_row_label"
|
|
|
|
android:text="@string/divide_notification" />
|
|
|
|
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
|
|
|
|
<Switch
|
|
|
|
android:id="@+id/swDivideNotification"
|
|
|
|
style="@style/setting_horizontal_stretch"
|
|
|
|
android:gravity="center" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<View style="@style/setting_divider" />
|
|
|
|
|
2018-12-03 09:07:07 +01:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|