diff options
Diffstat (limited to 'app/src/main/res/layout/fragment_settings_reveal.xml')
-rw-r--r-- | app/src/main/res/layout/fragment_settings_reveal.xml | 3242 |
1 files changed, 0 insertions, 3242 deletions
diff --git a/app/src/main/res/layout/fragment_settings_reveal.xml b/app/src/main/res/layout/fragment_settings_reveal.xml deleted file mode 100644 index e3be902d4..000000000 --- a/app/src/main/res/layout/fragment_settings_reveal.xml +++ /dev/null @@ -1,3242 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<com.google.android.material.circularreveal.CircularRevealFrameLayout xmlns:TagsEditText="http://schemas.android.com/apk/res-auto" - xmlns:android="http://schemas.android.com/apk/res/android" - 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"> - - <ScrollView - android:id="@+id/swipeContainer" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_marginStart="@dimen/fab_margin" - android:layout_marginLeft="@dimen/fab_margin" - android:layout_marginEnd="@dimen/fab_margin" - android:layout_marginRight="@dimen/fab_margin" - android:layout_marginBottom="20dp" - android:paddingLeft="@dimen/drawer_padding" - android:paddingRight="@dimen/drawer_padding" - android:scrollbars="none" - tools:ignore="UselessParent"> - - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:gravity="center_vertical" - android:orientation="vertical" - android:paddingLeft="@dimen/fab_margin" - android:paddingRight="@dimen/fab_margin" - tools:ignore="UselessParent"> - - <!-- TIMELINES --> - <LinearLayout - android:id="@+id/settings_timeline" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical" - android:visibility="gone"> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/settings_option_margin" - android:layout_marginBottom="@dimen/settings_option_margin" - android:gravity="center_vertical" - android:orientation="horizontal"> - - <LinearLayout - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginEnd="10dp" - android:layout_weight="1" - android:orientation="vertical"> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/set_remember_position" - android:textSize="16sp" /> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/set_remember_position_indication" - android:textColor="@color/mastodonC2" - android:textSize="12sp" /> - </LinearLayout> - - <androidx.appcompat.widget.SwitchCompat - android:id="@+id/set_remember_position" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - </LinearLayout> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/settings_option_margin" - android:layout_marginBottom="@dimen/settings_option_margin" - android:gravity="center_vertical" - android:orientation="horizontal"> - - <LinearLayout - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginEnd="10dp" - android:layout_weight="1" - android:orientation="vertical"> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/set_blur_sensitive" - android:textSize="16sp" /> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/set_blur_sensitive_indication" - android:textColor="@color/mastodonC2" - android:textSize="12sp" /> - </LinearLayout> - - <androidx.appcompat.widget.SwitchCompat - android:id="@+id/set_blur_sensitive" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - </LinearLayout> - - <!-- EXPAND CW --> - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/settings_option_margin" - android:layout_marginBottom="@dimen/settings_option_margin" - android:gravity="center_vertical" - android:orientation="horizontal"> - - <TextView - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginEnd="10dp" - android:layout_weight="1" - android:text="@string/expand_cw" - android:textSize="16sp" /> - - <androidx.appcompat.widget.SwitchCompat - android:id="@+id/set_expand_cw" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - </LinearLayout> - - <!-- EXPAND Images --> - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/settings_option_margin" - android:layout_marginBottom="@dimen/settings_option_margin" - android:gravity="center_vertical" - android:orientation="horizontal"> - - <TextView - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginEnd="10dp" - android:layout_weight="1" - android:text="@string/expand_image" - android:textSize="16sp" /> - - <androidx.appcompat.widget.SwitchCompat - android:id="@+id/set_expand_image" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - </LinearLayout> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:layout_marginBottom="10dp" - android:gravity="center_vertical" - android:text="@string/set_toots_page" - android:textSize="16sp" /> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_gravity="center_vertical" - android:layout_marginBottom="10dp" - android:orientation="horizontal"> - - <TextView - android:id="@+id/set_toot_per_page_count" - android:layout_width="20dp" - android:layout_height="wrap_content" - android:layout_marginEnd="10dp" - android:textSize="16sp" - tools:ignore="RtlHardcoded" /> - - <SeekBar - android:id="@+id/set_toot_per_page" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_gravity="center_vertical" /> - </LinearLayout> - - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/settings_option_margin" - android:layout_marginBottom="@dimen/settings_option_margin" - android:gravity="center_vertical" - android:orientation="horizontal"> - - <LinearLayout - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginEnd="10dp" - android:layout_weight="1" - android:orientation="vertical"> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/set_long_press_media" - android:textSize="16sp" /> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/set_long_press_media_indication" - android:textColor="@color/mastodonC2" - android:textSize="12sp" /> - - </LinearLayout> - - <androidx.appcompat.widget.SwitchCompat - android:id="@+id/set_long_press_media" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - </LinearLayout> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/settings_option_margin" - android:layout_marginBottom="@dimen/settings_option_margin" - android:gravity="center_vertical" - android:orientation="horizontal"> - - <TextView - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginEnd="10dp" - android:layout_weight="1" - android:text="@string/set_share_validation" - android:textSize="16sp" /> - - <androidx.appcompat.widget.SwitchCompat - android:id="@+id/set_share_validation" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - </LinearLayout> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/settings_option_margin" - android:layout_marginBottom="@dimen/settings_option_margin" - android:gravity="center_vertical" - android:orientation="horizontal"> - - <TextView - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginEnd="10dp" - android:layout_weight="1" - android:text="@string/set_share_validation_fav" - android:textSize="16sp" /> - - <androidx.appcompat.widget.SwitchCompat - android:id="@+id/set_share_validation_fav" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - </LinearLayout> - - <!-- DISPLAY NEW BADGE --> - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/settings_option_margin" - android:layout_marginBottom="@dimen/settings_option_margin" - android:gravity="center_vertical" - android:orientation="horizontal"> - - <TextView - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginEnd="10dp" - android:layout_weight="1" - android:text="@string/set_display_new_badge" - android:textSize="16sp" /> - - <androidx.appcompat.widget.SwitchCompat - android:id="@+id/set_display_new_badge" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - </LinearLayout> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/settings_option_margin" - android:layout_marginBottom="@dimen/settings_option_margin" - android:gravity="center_vertical" - android:orientation="horizontal"> - - <LinearLayout - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginEnd="10dp" - android:layout_weight="1" - android:orientation="vertical"> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/set_display_fedilab_features_button" - android:textSize="16sp" /> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/set_display_fedilab_features_button_indication" - android:textColor="@color/mastodonC2" - android:textSize="12sp" /> - </LinearLayout> - - <androidx.appcompat.widget.SwitchCompat - android:id="@+id/set_display_fedilab_features_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - </LinearLayout> - - <!-- DISPLAY BOT ICON --> - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/settings_option_margin" - android:layout_marginBottom="@dimen/settings_option_margin" - android:gravity="center_vertical" - android:orientation="horizontal"> - - <TextView - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginEnd="10dp" - android:layout_weight="1" - android:text="@string/set_display_bot_icon" - android:textSize="16sp" /> - - <androidx.appcompat.widget.SwitchCompat - android:id="@+id/set_display_bot_icon" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - </LinearLayout> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/settings_option_margin" - android:layout_marginBottom="@dimen/settings_option_margin" - android:gravity="center_vertical" - android:orientation="horizontal"> - - <TextView - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginEnd="10dp" - android:layout_weight="1" - android:text="@string/set_display_confirm" - android:textSize="16sp" /> - - <androidx.appcompat.widget.SwitchCompat - android:id="@+id/set_display_confirm" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - </LinearLayout> - - <!-- DISPLAY QUICK REPLY --> - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/settings_option_margin" - android:layout_marginBottom="@dimen/settings_option_margin" - android:gravity="center_vertical" - android:orientation="horizontal"> - - <LinearLayout - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginEnd="10dp" - android:layout_weight="1" - android:orientation="vertical"> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/set_quick_reply" - android:textSize="16sp" /> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/set_quick_reply_indication" - android:textColor="@color/mastodonC2" - android:textSize="12sp" /> - </LinearLayout> - - <androidx.appcompat.widget.SwitchCompat - android:id="@+id/set_quick_reply" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - </LinearLayout> - - <!-- FIT PREVIEWS --> - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/settings_option_margin" - android:layout_marginBottom="@dimen/settings_option_margin" - android:gravity="center_vertical" - android:orientation="horizontal"> - - <LinearLayout - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginEnd="10dp" - android:layout_weight="1" - android:orientation="vertical"> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/set_fit_preview" - android:textSize="16sp" /> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/set_fit_preview_indication" - android:textColor="@color/mastodonC2" - android:textSize="12sp" /> - </LinearLayout> - - <androidx.appcompat.widget.SwitchCompat - android:id="@+id/set_fit_preview" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - </LinearLayout> - - <!-- GIF AVATARS --> - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/settings_option_margin" - android:layout_marginBottom="@dimen/settings_option_margin" - android:gravity="center_vertical" - android:orientation="horizontal"> - - <TextView - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginEnd="10dp" - android:layout_weight="1" - android:text="@string/set_disable_gif" - android:textSize="16sp" /> - - <androidx.appcompat.widget.SwitchCompat - android:id="@+id/set_disable_gif" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - </LinearLayout> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/settings_option_margin" - android:layout_marginBottom="@dimen/settings_option_margin" - android:gravity="center_vertical" - android:orientation="horizontal"> - - <TextView - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginEnd="10dp" - android:layout_weight="1" - android:text="@string/set_disable_animated_emoji" - android:textSize="16sp" /> - - <androidx.appcompat.widget.SwitchCompat - android:id="@+id/set_disable_animated_emoji" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - </LinearLayout> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/settings_option_margin" - android:layout_marginBottom="@dimen/settings_option_margin" - android:gravity="center_vertical" - android:orientation="horizontal"> - - <TextView - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginEnd="10dp" - android:layout_weight="1" - android:text="@string/set_display_card" - android:textSize="16sp" /> - - <androidx.appcompat.widget.SwitchCompat - android:id="@+id/set_display_card" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - </LinearLayout> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/settings_option_margin" - android:layout_marginBottom="@dimen/settings_option_margin" - android:gravity="center_vertical" - android:orientation="horizontal"> - - <LinearLayout - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginEnd="10dp" - android:layout_weight="1" - android:orientation="vertical"> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/set_display_video_preview" - android:textSize="16sp" /> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/set_display_video_preview_indication" - android:textColor="@color/mastodonC2" - android:textSize="12sp" /> - </LinearLayout> - - <androidx.appcompat.widget.SwitchCompat - android:id="@+id/set_display_video_preview" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - </LinearLayout> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/settings_option_margin" - android:layout_marginBottom="@dimen/settings_option_margin" - android:gravity="center_vertical" - android:orientation="horizontal"> - - <LinearLayout - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginEnd="10dp" - android:layout_weight="1" - android:orientation="vertical"> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/set_display_content_after_fetch_more" - android:textSize="16sp" /> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/set_display_content_after_fetch_more_indication" - android:textColor="@color/mastodonC2" - android:textSize="12sp" /> - </LinearLayout> - - <androidx.appcompat.widget.SwitchCompat - android:id="@+id/set_display_content_after_fetch_more" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - </LinearLayout> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/settings_option_margin" - android:layout_marginBottom="@dimen/settings_option_margin" - android:gravity="center_vertical" - android:orientation="horizontal"> - - <TextView - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginEnd="10dp" - android:layout_weight="1" - android:text="@string/set_hide_delete_notification_on_tab" - android:textSize="16sp" /> - - <androidx.appcompat.widget.SwitchCompat - android:id="@+id/set_hide_delete_notification_on_tab" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - </LinearLayout> - - </LinearLayout> - - <!-- NOTIFICATIONS --> - <LinearLayout - android:id="@+id/settings_notifications" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical" - android:visibility="gone"> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_gravity="center_vertical" - android:orientation="horizontal"> - - <TextView - android:layout_width="0dp" - android:layout_weight="1" - android:layout_height="wrap_content" - android:layout_gravity="center_vertical" - android:text="@string/set_notify" - android:textSize="16sp" /> - - <androidx.appcompat.widget.SwitchCompat - android:id="@+id/set_notify" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_vertical" - android:layout_margin="10dp" - android:gravity="center" /> - </LinearLayout> - - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="vertical" - android:id="@+id/notification_container"> - <!-- Choose stream --> - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:orientation="horizontal"> - - <Spinner - android:id="@+id/set_live_type" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - </LinearLayout> - - <TextView - android:id="@+id/set_live_type_indication" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginBottom="10dp" - android:textColor="@color/mastodonC2" /> - - <LinearLayout - android:id="@+id/live_notif_per_account" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/settings_option_margin" - android:layout_marginBottom="@dimen/settings_option_margin" - android:gravity="center_vertical" - android:orientation="horizontal"> - - <LinearLayout - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginEnd="10dp" - android:layout_weight="1" - android:orientation="vertical"> - - <TextView - android:id="@+id/set_allow_live_notifications_title" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/set_allow_live_notifications" - android:textSize="16sp" /> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/set_allow_live_notifications_indication" - android:textColor="@color/mastodonC2" - android:textSize="12sp" /> - </LinearLayout> - - <LinearLayout - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="vertical"> - - <androidx.appcompat.widget.SwitchCompat - android:id="@+id/set_allow_live_notifications" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - <ImageButton - android:id="@+id/set_allow_live_notifications_others" - style="@style/colored_button" - android:layout_width="40dp" - android:layout_height="40dp" - android:layout_gravity="end" - android:contentDescription="@string/live_notif" - android:padding="5dp" - android:src="@drawable/ic_account_circle_acct" /> - </LinearLayout> - - - </LinearLayout> - - <LinearLayout - android:id="@+id/set_hide_status_bar_container" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/settings_option_margin" - android:layout_marginBottom="@dimen/settings_option_margin" - android:gravity="center_vertical" - android:orientation="horizontal" - android:visibility="gone"> - - <LinearLayout - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginEnd="10dp" - android:layout_weight="1" - android:orientation="vertical"> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/set_hide_status_bar" - android:textSize="16sp" /> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/set_hide_status_bar_indication" - android:textColor="@color/mastodonC2" - android:textSize="12sp" /> - </LinearLayout> - - <ImageButton - android:id="@+id/set_hide_status_bar" - style="@style/colored_button" - android:layout_width="40dp" - android:layout_height="40dp" - android:contentDescription="@string/bookmark_add" - android:padding="5dp" - android:src="@drawable/ic_hide_status_bar" /> - - </LinearLayout> - - <LinearLayout - android:id="@+id/notificati |