2019-07-01 18:39:46 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-09-06 17:55:14 +02:00
|
|
|
<com.google.android.material.circularreveal.CircularRevealFrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-07-01 18:39:46 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<ScrollView xmlns:TagsEditText="http://schemas.android.com/apk/res-auto"
|
2019-07-01 18:39:46 +02:00
|
|
|
android:id="@+id/swipeContainer"
|
|
|
|
android:paddingLeft="@dimen/drawer_padding"
|
|
|
|
android:paddingRight="@dimen/drawer_padding"
|
|
|
|
android:layout_marginLeft="@dimen/fab_margin"
|
|
|
|
android:layout_marginRight="@dimen/fab_margin"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginStart="@dimen/fab_margin"
|
|
|
|
android:layout_marginEnd="@dimen/fab_margin"
|
|
|
|
tools:ignore="UselessParent">
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingLeft="@dimen/fab_margin"
|
|
|
|
android:paddingRight="@dimen/fab_margin"
|
|
|
|
android:orientation="vertical"
|
|
|
|
tools:ignore="UselessParent">
|
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<!-- TIMELINES -->
|
2019-07-03 09:43:29 +02:00
|
|
|
<LinearLayout
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/settings_timeline"
|
2019-07-03 09:43:29 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2019-07-03 09:43:29 +02:00
|
|
|
<LinearLayout
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-07-03 09:43:29 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/set_remember_position"
|
2019-07-03 09:43:29 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:textSize="16sp"
|
2019-07-03 09:43:29 +02:00
|
|
|
android:layout_height="wrap_content" />
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/set_remember_position_text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:text="@string/set_remember_position"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/set_remember_position_indication"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
2019-07-03 09:43:29 +02:00
|
|
|
</LinearLayout>
|
2019-07-01 18:39:46 +02:00
|
|
|
|
|
|
|
|
2019-07-03 09:43:29 +02:00
|
|
|
<LinearLayout
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-07-03 09:43:29 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/set_blur_sensitive"
|
2019-07-03 09:43:29 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:textSize="16sp"
|
2019-07-03 09:43:29 +02:00
|
|
|
android:layout_height="wrap_content" />
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/set_blur_sensitive_text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:text="@string/set_blur_sensitive"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/set_blur_sensitive_indication"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
2019-07-03 09:43:29 +02:00
|
|
|
</LinearLayout>
|
2019-07-01 18:39:46 +02:00
|
|
|
|
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<!-- EXPAND CW -->
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/set_expand_cw"
|
|
|
|
android:layout_width="wrap_content"
|
2019-08-31 16:41:29 +02:00
|
|
|
android:textSize="16sp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/expand_cw"
|
|
|
|
android:layout_height="wrap_content" />
|
2019-08-31 16:41:29 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<!-- EXPAND Images -->
|
2019-09-04 11:59:20 +02:00
|
|
|
<CheckBox
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/set_expand_image"
|
2019-09-04 11:59:20 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:textSize="16sp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/expand_image"
|
2019-09-04 11:59:20 +02:00
|
|
|
android:layout_height="wrap_content" />
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:text="@string/set_toots_page"
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:layout_width="wrap_content"
|
2019-09-04 11:59:20 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:gravity="center_vertical" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2019-09-04 11:59:20 +02:00
|
|
|
<TextView
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/set_toot_per_page_count"
|
|
|
|
android:gravity="end"
|
2019-09-04 11:59:20 +02:00
|
|
|
android:textSize="16sp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
tools:ignore="RtlHardcoded" />
|
2019-09-04 11:59:20 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<SeekBar
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:id="@+id/set_toot_per_page"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"></SeekBar>
|
|
|
|
</LinearLayout>
|
2019-09-04 11:59:20 +02:00
|
|
|
|
2019-07-03 09:43:29 +02:00
|
|
|
<LinearLayout
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-07-03 09:43:29 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/set_invidious"
|
2019-07-03 09:43:29 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:textSize="16sp"
|
2019-07-03 09:43:29 +02:00
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/set_invidious_text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:text="@string/set_invidious"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/set_invidious_indication"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
2019-07-03 09:43:29 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<EditText
|
|
|
|
android:hint="@string/set_invidious_host"
|
|
|
|
android:id="@+id/set_invidious_host"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
2019-07-03 09:43:29 +02:00
|
|
|
|
2019-07-01 18:39:46 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:orientation="horizontal">
|
2019-07-03 11:39:10 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/set_long_press_media"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_height="wrap_content" />
|
2019-07-01 18:39:46 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/set_long_press_media_text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:text="@string/set_long_press_media"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/set_long_press_media_indication"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
2019-07-03 11:39:10 +02:00
|
|
|
|
|
|
|
|
|
|
|
<CheckBox
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/set_share_validation"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:textSize="16sp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_share_validation"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
2019-07-06 16:17:13 +02:00
|
|
|
|
2019-07-03 11:39:10 +02:00
|
|
|
<CheckBox
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/set_share_validation_fav"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:textSize="16sp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_share_validation_fav"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<!-- DISPLAY NEW BADGE -->
|
2019-07-03 11:39:10 +02:00
|
|
|
<CheckBox
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/set_display_new_badge"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:textSize="16sp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_display_new_badge"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_height="wrap_content" />
|
2019-09-06 17:55:14 +02:00
|
|
|
|
2019-07-03 11:39:10 +02:00
|
|
|
<LinearLayout
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/set_display_fedilab_features_button"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:textSize="16sp"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/set_display_fedilab_features_button_text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:text="@string/set_display_fedilab_features_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/set_display_fedilab_features_button_indication"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
2019-07-03 11:39:10 +02:00
|
|
|
|
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<!-- DISPLAY BOT ICON -->
|
2019-07-03 11:39:10 +02:00
|
|
|
<CheckBox
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/set_display_bot_icon"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_display_bot_icon"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
|
|
|
|
<CheckBox
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/set_display_confirm"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_display_confirm"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_height="wrap_content" />
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<!-- DISPLAY QUICK REPLY -->
|
2019-07-03 11:39:10 +02:00
|
|
|
<LinearLayout
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/set_quick_reply"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:textSize="16sp"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/set_quick_reply_text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:text="@string/set_quick_reply"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/set_quick_reply_indication"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
2019-07-01 18:39:46 +02:00
|
|
|
|
2019-09-04 18:01:18 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<!-- FIT PREVIEWS -->
|
2019-07-01 18:39:46 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/set_fit_preview"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/set_fit_preview_text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:text="@string/set_fit_preview"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/set_fit_preview_indication"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<!-- GIF AVATARS -->
|
|
|
|
<CheckBox
|
2019-07-03 11:39:10 +02:00
|
|
|
android:textSize="16sp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/set_disable_gif"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_disable_gif"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:id="@+id/set_disable_animated_emoji"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_disable_animated_emoji"
|
|
|
|
android:layout_height="wrap_content" />
|
2019-07-02 19:00:48 +02:00
|
|
|
|
2019-09-01 18:11:57 +02:00
|
|
|
<CheckBox
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/set_display_card"
|
2019-09-01 18:11:57 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_display_card"
|
2019-09-01 18:11:57 +02:00
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_height="wrap_content" />
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
|
2019-09-01 18:11:57 +02:00
|
|
|
<LinearLayout
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-09-01 18:11:57 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/set_display_video_preview"
|
2019-09-01 18:11:57 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:textSize="16sp"
|
2019-09-01 18:11:57 +02:00
|
|
|
android:layout_height="wrap_content" />
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/set_display_video_preview_text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:text="@string/set_display_video_preview"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/set_display_video_preview_indication"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
2019-09-01 18:11:57 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2019-09-04 18:01:18 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-09-04 18:01:18 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/set_display_content_after_fetch_more"
|
2019-09-04 18:01:18 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:textSize="16sp"
|
2019-09-04 18:01:18 +02:00
|
|
|
android:layout_height="wrap_content" />
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/set_display_content_after_fetch_more_text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:text="@string/set_display_content_after_fetch_more"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/set_display_content_after_fetch_more_indication"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
2019-09-04 18:01:18 +02:00
|
|
|
</LinearLayout>
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:id="@+id/set_hide_delete_notification_on_tab"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_hide_delete_notification_on_tab"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
2019-09-04 18:01:18 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<!-- NOTIFICATIONS -->
|
2019-07-02 19:00:48 +02:00
|
|
|
<LinearLayout
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/settings_notifications"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:visibility="gone"
|
|
|
|
android:layout_height="match_parent"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
2019-09-06 17:55:14 +02:00
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_gravity="center_vertical"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:text="@string/set_notify" />
|
2019-07-02 19:00:48 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/set_notify"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="center"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_margin="10dp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
2019-07-02 19:00:48 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2019-09-11 16:02:56 +02:00
|
|
|
|
|
|
|
<!-- Choose stream -->
|
2019-09-06 17:55:14 +02:00
|
|
|
<LinearLayout
|
2019-09-11 16:02:56 +02:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/set_live_type_title" />
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/set_live_type"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/live_notif_per_account"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/set_allow_live_notifications"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:id="@+id/set_allow_live_notifications_title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/set_allow_live_notifications_indication"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-07-02 19:00:48 +02:00
|
|
|
|
2019-09-11 16:02:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2019-07-02 19:00:48 +02:00
|
|
|
<LinearLayout
|
2019-09-06 17:55:14 +02:00
|
|
|
android:visibility="gone"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/set_hide_status_bar_container"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/set_hide_status_bar"
|
|
|
|
style="@style/Base.Widget.AppCompat.Button.Colored"
|
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
android:padding="5dp"
|
|
|
|
android:contentDescription="@string/bookmark_add"
|
|
|
|
android:src="@drawable/ic_hide_status_bar" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:text="@string/set_hide_status_bar"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/set_hide_status_bar_indication"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/notification_settings"
|
|
|
|
android:layout_width="match_parent"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
2019-09-06 17:55:14 +02:00
|
|
|
|
2019-07-02 19:00:48 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<View
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="0dp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_margin="10dp"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_weight="1"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:background="?colorAccent" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:gravity="center"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:text="@string/settings_category_notif_customize"
|
|
|
|
android:textColor="?colorAccent"
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
|
|
|
<View
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="0dp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_margin="10dp"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_weight="1"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:background="?colorAccent" />
|
2019-07-02 19:00:48 +02:00
|
|
|
</LinearLayout>
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/set_notif_sound"
|
|
|
|
android:gravity="center"
|
|
|
|
style="@style/Base.Widget.AppCompat.Button.Colored"
|
|
|
|
android:tint="@android:color/white"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_notif_sound"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
2019-07-02 19:00:48 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/channels_container"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/sound_mention"
|
|
|
|
android:gravity="center"
|
|
|
|
style="@style/Base.Widget.AppCompat.Button.Colored"
|
|
|
|
android:tint="@android:color/white"
|
|
|
|
android:text="@string/channel_notif_mention"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/sound_follow"
|
|
|
|
android:gravity="center"
|
|
|
|
style="@style/Base.Widget.AppCompat.Button.Colored"
|
|
|
|
android:tint="@android:color/white"
|
|
|
|
android:text="@string/channel_notif_follow"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/sound_boost"
|
|
|
|
android:gravity="center"
|
|
|
|
style="@style/Base.Widget.AppCompat.Button.Colored"
|
|
|
|
android:tint="@android:color/white"
|
|
|
|
android:text="@string/channel_notif_boost"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/sound_fav"
|
|
|
|
android:gravity="center"
|
|
|
|
style="@style/Base.Widget.AppCompat.Button.Colored"
|
|
|
|
android:tint="@android:color/white"
|
|
|
|
android:text="@string/channel_notif_fav"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/sound_poll"
|
|
|
|
android:gravity="center"
|
|
|
|
style="@style/Base.Widget.AppCompat.Button.Colored"
|
|
|
|
android:tint="@android:color/white"
|
|
|
|
android:text="@string/channel_notif_poll"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/sound_media"
|
|
|
|
android:gravity="center"
|
|
|
|
style="@style/Base.Widget.AppCompat.Button.Colored"
|
|
|
|
android:tint="@android:color/white"
|
|
|
|
android:text="@string/channel_notif_media"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/sound_backup"
|
|
|
|
android:gravity="center"
|
|
|
|
style="@style/Base.Widget.AppCompat.Button.Colored"
|
|
|
|
android:tint="@android:color/white"
|
|
|
|
android:text="@string/channel_notif_backup"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:visibility="invisible"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
2019-07-02 19:00:48 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
2019-09-06 17:55:14 +02:00
|
|
|
<!-- NOTIFICATIONS SETTINGS -->
|
2019-07-02 19:00:48 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<View
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="0dp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_margin="10dp"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_weight="1"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:background="?colorAccent" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:gravity="center"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:text="@string/settings_category_notif_categories"
|
|
|
|
android:textColor="?colorAccent"
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
|
|
|
<View
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="0dp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_margin="10dp"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_weight="1"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:background="?colorAccent" />
|
2019-07-02 19:00:48 +02:00
|
|
|
</LinearLayout>
|
2019-09-06 17:55:14 +02:00
|
|
|
<!-- Toots per page -->
|
|
|
|
<CheckBox
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:id="@+id/set_notif_follow"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_notif_follow"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:id="@+id/set_notif_follow_add"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_notif_follow_add"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:id="@+id/set_notif_follow_mention"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_notif_follow_mention"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:id="@+id/set_notif_follow_share"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_notif_follow_share"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:id="@+id/set_notif_follow_poll"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_notif_follow_poll"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
<!-- END NOTIFICATIONS SETTINGS -->
|
|
|
|
|
2019-07-02 19:00:48 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<View
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="0dp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_margin="10dp"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_weight="1"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:background="?colorAccent" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/settings_category_notif_time_slot"
|
|
|
|
android:textColor="?colorAccent"
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
|
|
|
<View
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="0dp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_margin="10dp"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_weight="1"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:background="?colorAccent" />
|
2019-07-02 19:00:48 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/set_enable_time_slot"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:text="@string/set_enable_time_slot"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_height="wrap_content" />
|
2019-07-02 19:00:48 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<LinearLayout
|
|
|
|
style="?attr/shapeBorder"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:text="@string/settings_time_from"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:focusableInTouchMode="false"
|
|
|
|
android:id="@+id/settings_time_from"
|
|
|
|
style="?attr/borderlessColored"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:text="@string/settings_time_to"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:focusableInTouchMode="false"
|
|
|
|
style="?attr/borderlessColored"
|
|
|
|
android:id="@+id/settings_time_to"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/action_notification"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:entries="@array/action_notification" />
|
|
|
|
</LinearLayout>
|
2019-07-02 19:00:48 +02:00
|
|
|
|
|
|
|
<TextView
|
2019-09-06 17:55:14 +02:00
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/set_enable_time_slot_indication"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
<!-- MORE OPTIONS SETTINGS -->
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:orientation="horizontal">
|
2019-07-02 19:00:48 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<View
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="?colorAccent" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/settings_category_notif_advanced"
|
|
|
|
android:textColor="?colorAccent"
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="?colorAccent" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/set_wifi_only" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/set_wifi_only"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="center"
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/set_notif_silent" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/set_silence"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="center"
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/set_led_colour_label"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/set_led_colour" />
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/led_colour_spinner"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:entries="@array/led_colours" />
|
|
|
|
</LinearLayout>
|
2019-07-02 19:00:48 +02:00
|
|
|
</LinearLayout>
|
2019-09-06 17:55:14 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<!-- ADMIN -->
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/settings_admin"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2019-07-02 19:00:48 +02:00
|
|
|
<CheckBox
|
2019-07-03 11:39:10 +02:00
|
|
|
android:textSize="16sp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/set_display_admin_menu"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:text="@string/set_display_admin_menu"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_height="wrap_content" />
|
2019-09-06 17:55:14 +02:00
|
|
|
|
2019-07-02 19:00:48 +02:00
|
|
|
<CheckBox
|
2019-07-03 11:39:10 +02:00
|
|
|
android:textSize="16sp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/set_display_admin_statuses"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:text="@string/set_display_admin_toot"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_height="wrap_content" />
|
2019-09-06 17:55:14 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<!-- INTERFACE -->
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/settings_interface"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<!-- COMPACT MODE -->
|
|
|
|
<TextView
|
|
|
|
android:text="@string/set_mode"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:textSize="16sp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<RadioGroup
|
|
|
|
android:id="@+id/set_mode"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/set_normal_mode"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/set_normal" />
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/set_compact_mode"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/set_compact" />
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/set_console_mode"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/set_console" />
|
|
|
|
</RadioGroup>
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/set_display_timeline_in_list"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/set_display_timeline_in_list_text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:text="@string/set_display_timeline_in_list"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/set_display_timeline_in_list_indication"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-07-02 19:00:48 +02:00
|
|
|
<CheckBox
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/set_unfollow_validation"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:textSize="16sp"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:text="@string/set_unfollow_validation"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_height="wrap_content" />
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:text="@string/set_backup"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:textSize="16sp"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/set_auto_backup"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/set_auto_backup_text"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:text="@string/set_auto_backup"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/set_auto_backup_indication"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
2019-07-02 19:00:48 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/set_auto_backup_notifications"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_height="wrap_content" />
|
2019-07-02 19:00:48 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/set_auto_backup_text_notifications"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:text="@string/set_auto_backup_notifications"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/set_auto_backup_notifications_indication"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
2019-07-02 19:00:48 +02:00
|
|
|
</LinearLayout>
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:text="@string/action_cache"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:textSize="16sp"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_height="wrap_content" />
|
2019-09-06 17:55:14 +02:00
|
|
|
|
2019-07-02 19:00:48 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:orientation="horizontal">
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/set_clear_cache_exit"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:textSize="16sp"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_height="wrap_content" />
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:text="@string/set_clear_cache_exit"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/set_clear_cache_exit_indication"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
2019-07-02 19:00:48 +02:00
|
|
|
</LinearLayout>
|
2019-09-06 17:55:14 +02:00
|
|
|
|
2019-07-03 09:43:29 +02:00
|
|
|
<TextView
|
2019-09-06 17:55:14 +02:00
|
|
|
android:text="@string/set_crash_reports"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
2019-07-03 09:43:29 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:textSize="16sp"
|
2019-07-03 09:43:29 +02:00
|
|
|
android:layout_height="wrap_content" />
|
2019-09-06 17:55:14 +02:00
|
|
|
|
2019-07-02 19:00:48 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/set_enable_crash_report"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_height="wrap_content" />
|
2019-07-02 19:00:48 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/set_enable_crash_report_text"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:text="@string/set_enable_crash_report"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/set_enable_crash_report_indication"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
2019-07-02 19:00:48 +02:00
|
|
|
</LinearLayout>
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:text="@string/set_attachment_action"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<RadioGroup
|
|
|
|
android:id="@+id/set_attachment_group"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:orientation="horizontal">
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/set_attachment_always"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:text="@string/set_attachment_always" />
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/set_attachment_wifi"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:text="@string/set_attachment_wifi" />
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/set_attachment_ask"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/set_attachment_ask" />
|
|
|
|
</RadioGroup>
|
|
|
|
|
|
|
|
|
2019-07-02 19:00:48 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:orientation="horizontal">
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/set_security_provider"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:textSize="16sp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/set_security_provider_text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:text="@string/set_security_provider"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/set_security_provider_indication"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
2019-07-02 19:00:48 +02:00
|
|
|
</LinearLayout>
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
<!-- Choose stream -->
|
2019-07-02 19:00:48 +02:00
|
|
|
<LinearLayout
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="10dp"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
2019-07-03 11:39:10 +02:00
|
|
|
android:textSize="16sp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:text="@string/set_video_mode" />
|
|
|
|
|
2019-07-02 19:00:48 +02:00
|
|
|
<Spinner
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/set_video_mode"
|
2019-07-02 19:00:48 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_height="wrap_content" />
|
2019-07-02 19:00:48 +02:00
|
|
|
</LinearLayout>
|
2019-07-01 18:39:46 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<TextView
|
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/set_video_mode_indication"
|
2019-07-03 09:43:29 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<!-- Featured tags -->
|
2019-07-03 09:43:29 +02:00
|
|
|
<LinearLayout
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-07-03 09:43:29 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
2019-09-06 17:55:14 +02:00
|
|
|
|
2019-07-03 09:43:29 +02:00
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:labelFor="@+id/set_featured_tags"
|
|
|
|
android:text="@string/featured_hashtags"
|
2019-07-03 09:43:29 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<mabbas007.tagsedittext.TagsEditText
|
|
|
|
android:id="@+id/set_featured_tags"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:minLines="3"
|
|
|
|
android:lines="3"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
TagsEditText:allowSpaceInTag="true"
|
|
|
|
TagsEditText:tagsCloseImageRight="@drawable/tag_close"
|
|
|
|
TagsEditText:tagsTextColor="?colorAccent"
|
|
|
|
TagsEditText:tagsTextSize="@dimen/defaultTagsTextSize"
|
|
|
|
TagsEditText:tagsCloseImagePadding="@dimen/defaultTagsCloseImagePadding"
|
|
|
|
android:inputType="textMultiLine" />
|
|
|
|
|
|
|
|
<TextView
|
2019-07-03 09:43:29 +02:00
|
|
|
android:textColor="@color/mastodonC2"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:text="@string/featured_hashtags_indication"
|
2019-07-03 09:43:29 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<!-- TRUNCATE LONG TOOTS -->
|
|
|
|
<TextView
|
|
|
|
android:layout_marginTop="10dp"
|
2019-08-06 15:12:17 +02:00
|
|
|
android:textSize="16sp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:layout_width="wrap_content"
|
2019-08-06 15:12:17 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:text="@string/set_truncate_toot" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2019-08-06 15:12:17 +02:00
|
|
|
<TextView
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/set_truncate_toots"
|
|
|
|
android:gravity="end"
|
2019-08-06 15:12:17 +02:00
|
|
|
android:textSize="16sp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
tools:ignore="RtlHardcoded" />
|
|
|
|
|
|
|
|
<SeekBar
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:id="@+id/set_truncate_size"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"></SeekBar>
|
2019-08-06 15:12:17 +02:00
|
|
|
</LinearLayout>
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<!-- Resize pictures -->
|
2019-08-25 18:16:36 +02:00
|
|
|
<LinearLayout
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:layout_width="match_parent"
|
2019-08-25 18:16:36 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
2019-08-25 18:16:36 +02:00
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
2019-08-25 18:16:36 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/set_resize_picture" />
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/set_resize_picture"
|
2019-08-25 18:16:36 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
2019-09-02 18:25:22 +02:00
|
|
|
|
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<!-- Translation engine -->
|
2019-09-02 18:25:22 +02:00
|
|
|
<LinearLayout
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:id="@+id/translation_layout_container"
|
|
|
|
android:layout_width="match_parent"
|
2019-09-02 18:25:22 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
2019-09-02 18:25:22 +02:00
|
|
|
android:orientation="vertical">
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/about_yandex" />
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/translation_layout_spinner"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:id="@+id/set_trans_forced"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:hint="@string/your_api_key"
|
|
|
|
android:id="@+id/translation_key"
|
|
|
|
android:layout_width="match_parent"
|
2019-09-02 18:25:22 +02:00
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-07-19 15:55:28 +02:00
|
|
|
<LinearLayout
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-07-19 15:55:28 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/file_chooser"
|
|
|
|
android:layout_marginTop="10dp"
|
2019-07-19 15:55:28 +02:00
|
|
|
android:orientation="vertical">
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:text="@string/set_folder_title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_marginLeft="10dp"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:maxLines="2"
|
|
|
|
android:textStyle="italic"
|
|
|
|
android:textColor="?attr/colorAccent"
|
|
|
|
android:id="@+id/set_folder"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-07-19 15:55:28 +02:00
|
|
|
<TextView
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:textSize="12sp"
|
|
|
|
android:textStyle="italic"
|
|
|
|
android:text="@string/click_to_change"
|
|
|
|
android:layout_width="match_parent"
|
2019-07-19 15:55:28 +02:00
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
2019-07-03 11:39:10 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<CheckBox
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:id="@+id/set_embedded_browser"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:text="@string/embedded_browser"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:gravity="center"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:id="@+id/update_tracking_domains"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
style="@style/Base.Widget.AppCompat.Button.Colored"
|
|
|
|
android:text="@string/update_tracking_domains" />
|
2019-07-01 18:39:46 +02:00
|
|
|
|
2019-07-03 11:39:10 +02:00
|
|
|
|
2019-07-03 09:43:29 +02:00
|
|
|
<LinearLayout
|
2019-09-06 17:55:14 +02:00
|
|
|
android:visibility="gone"
|
|
|
|
android:id="@+id/custom_tabs_container"
|
|
|
|
android:layout_width="match_parent"
|
2019-07-03 09:43:29 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/set_custom_tabs"
|
2019-07-03 09:43:29 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:textSize="16sp"
|
2019-07-03 09:43:29 +02:00
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/set_custom_tabs_text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:text="@string/custom_tabs"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/custom_tabs_indication"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
2019-07-01 18:39:46 +02:00
|
|
|
|
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/set_javascript_container"
|
2019-07-01 18:39:46 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-07-01 18:39:46 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:visibility="gone"
|
|
|
|
android:orientation="vertical">
|
2019-07-01 18:39:46 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/use_javascript" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/set_javascript"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="center"
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
2019-07-01 18:39:46 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/set_cookies_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/use_cookies" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
android:id="@+id/set_cookies"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="center"
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
2019-07-01 18:39:46 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<!-- THEME -->
|
2019-07-01 18:39:46 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:orientation="horizontal">
|
2019-09-06 17:55:14 +02:00
|
|
|
|
2019-07-01 18:39:46 +02:00
|
|
|
<TextView
|
2019-07-03 11:39:10 +02:00
|
|
|
android:textSize="16sp"
|
2019-07-01 18:39:46 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:text="@string/set_theme" />
|
|
|
|
|
2019-07-01 18:39:46 +02:00
|
|
|
<Spinner
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/set_night_mode"
|
2019-07-01 18:39:46 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
<!-- NSFW Timeout -->
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:text="@string/set_nsfw_timeout" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
2019-07-01 18:39:46 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/set_nsfw_timeout_value"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<SeekBar
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:id="@+id/set_nsfw_timeout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"></SeekBar>
|
|
|
|
</LinearLayout>
|
2019-07-03 11:39:10 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<!-- COMPOSE -->
|
2019-07-03 11:39:10 +02:00
|
|
|
<LinearLayout
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/settings_compose"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:visibility="gone"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:orientation="vertical">
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:id="@+id/set_auto_add_media_url"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_auto_add_media_url"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:id="@+id/set_auto_store"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_auto_store_toot"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<!-- CARRIAGE RETURN AFTER MENTION IN REPLIES -->
|
2019-07-03 11:39:10 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:orientation="horizontal">
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/set_capitalize"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/set_capitalize_text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:text="@string/set_capitalize"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/set_capitalize_indication"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
2019-07-03 11:39:10 +02:00
|
|
|
</LinearLayout>
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
<!-- WYSIWYG -->
|
2019-07-03 11:39:10 +02:00
|
|
|
<LinearLayout
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/set_wysiwyg_container"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:visibility="gone"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:orientation="horizontal">
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/set_wysiwyg"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:textSize="16sp"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:text="@string/set_wysiwyg"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/set_wysiwyg_indication"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
2019-07-03 11:39:10 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<CheckBox
|
2019-07-03 11:39:10 +02:00
|
|
|
android:textSize="16sp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/set_automatically_split_toot"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_automatically_split_toot"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:id="@+id/set_split_container"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/set_split_text"
|
|
|
|
android:gravity="end"
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
android:layout_height="wrap_content" />
|
2019-07-03 11:39:10 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<SeekBar
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:id="@+id/set_split_size"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"></SeekBar>
|
|
|
|
</LinearLayout>
|
2019-07-03 11:39:10 +02:00
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:textSize="16sp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/set_display_emoji"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_display_emoji"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<!-- PUT THE WHOLE CONTENT WHEN SHARING -->
|
2019-07-03 11:39:10 +02:00
|
|
|
<CheckBox
|
2019-09-06 17:55:14 +02:00
|
|
|
android:textSize="16sp"
|
|
|
|
android:id="@+id/set_share_details"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_share_details"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<!-- RETRIEVE METADATA -->
|
|
|
|
<CheckBox
|
2019-07-03 11:39:10 +02:00
|
|
|
android:textSize="16sp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/set_retrieve_metadata_share_from_extras"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_retrieve_metadata_share_from_extras"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_height="wrap_content" />
|
2019-09-06 17:55:14 +02:00
|
|
|
|
2019-07-01 18:39:46 +02:00
|
|
|
<LinearLayout
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/toot_visibility_container"
|
|
|
|
android:layout_width="match_parent"
|
2019-07-01 18:39:46 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
2019-07-01 18:39:46 +02:00
|
|
|
<TextView
|
2019-07-03 11:39:10 +02:00
|
|
|
android:textSize="16sp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/toots_visibility_tilte" />
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:layout_marginLeft="20dp"
|
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:id="@+id/set_toot_visibility"
|
|
|
|
android:padding="5dp"
|
|
|
|
android:layout_width="40dp"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
style="@style/Base.Widget.AppCompat.Button.Colored"
|
|
|
|
android:src="@drawable/ic_public"
|
|
|
|
android:contentDescription="@string/toot_visibility_tilte" />
|
2019-07-01 18:39:46 +02:00
|
|
|
</LinearLayout>
|
2019-07-03 11:39:10 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<!-- CUSTOM SHARING -->
|
2019-07-01 18:39:46 +02:00
|
|
|
<LinearLayout
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-07-01 18:39:46 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/set_custom_sharing"
|
2019-07-01 18:39:46 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:textSize="16sp"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_height="wrap_content" />
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/set_custom_sharing_text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:text="@string/settings_title_custom_sharing"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textColor="@color/mastodonC2"
|
|
|
|
android:text="@string/settings_title_custom_sharing_indication"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
2019-07-01 18:39:46 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<EditText
|
|
|
|
android:hint="@string/settings_custom_sharing_url"
|
|
|
|
android:id="@+id/custom_sharing_url"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
2019-07-20 17:44:44 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<!-- ADD TAGS -->
|
2019-07-20 17:44:44 +02:00
|
|
|
<CheckBox
|
|
|
|
android:textSize="16sp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/set_forward_tags"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_forward_tags"
|
2019-07-20 17:44:44 +02:00
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:id="@+id/set_photo_editor"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/settings_checkbox_margin"
|
|
|
|
android:layout_marginBottom="@dimen/settings_checkbox_margin"
|
|
|
|
android:text="@string/set_photo_editor"
|
2019-07-01 18:39:46 +02:00
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
2019-07-03 11:39:10 +02:00
|
|
|
|
2019-09-06 17:55:14 +02:00
|
|
|
<!-- maximum upload image retry times -->
|
2019-07-01 18:39:46 +02:00
|
|
|
<TextView
|
2019-07-03 11:39:10 +02:00
|
|
|
android:textSize="16sp"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:layout_marginBottom="10dp"
|
2019-07-01 18:39:46 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:text="@string/upload_image_maximum_retry_times" />
|
2019-07-03 11:39:10 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
2019-09-06 17:55:14 +02:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2019-07-03 11:39:10 +02:00
|
|
|
<TextView
|
2019-09-06 17:55:14 +02:00
|
|
|
android:id="@+id/max_upload_image_retry_times_value"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_width="50dp"
|
2019-07-03 11:39:10 +02:00
|
|
|
android:layout_height="wrap_content" />
|
2019-09-06 17:55:14 +02:00
|
|
|
|
|
|
|
<SeekBar
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:id="@+id/max_upload_image_retry_times"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:max="10"></SeekBar>
|
2019-07-03 11:39:10 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2019-07-03 18:41:26 +02:00
|
|
|
</LinearLayout>
|
2019-07-01 18:39:46 +02:00
|
|
|
</LinearLayout>
|
2019-09-06 17:55:14 +02:00
|
|
|
</ScrollView>
|
2019-07-01 18:39:46 +02:00
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
</com.google.android.material.circularreveal.CircularRevealFrameLayout>
|