summaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/fragment_settings_admin.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/fragment_settings_admin.xml')
-rw-r--r--app/src/main/res/layout/fragment_settings_admin.xml97
1 files changed, 97 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_settings_admin.xml b/app/src/main/res/layout/fragment_settings_admin.xml
new file mode 100644
index 000000000..1e8e30151
--- /dev/null
+++ b/app/src/main/res/layout/fragment_settings_admin.xml
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<com.google.android.material.circularreveal.CircularRevealFrameLayout 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">
+
+
+ <!-- ADMIN -->
+ <LinearLayout
+ android:id="@+id/settings_admin"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <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_admin_menu"
+ android:textSize="16sp" />
+
+ <androidx.appcompat.widget.SwitchCompat
+ android:id="@+id/set_display_admin_menu"
+ 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_admin_toot"
+ android:textSize="16sp" />
+
+ <androidx.appcompat.widget.SwitchCompat
+ android:id="@+id/set_display_admin_statuses"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+
+ </LinearLayout>
+
+ </LinearLayout>
+
+
+ </LinearLayout>
+ </ScrollView>
+
+ </FrameLayout>
+</com.google.android.material.circularreveal.CircularRevealFrameLayout>