diff options
author | Thomas <tschneider.ac@gmail.com> | 2020-05-17 18:33:37 +0200 |
---|---|---|
committer | Thomas <tschneider.ac@gmail.com> | 2020-05-17 18:33:37 +0200 |
commit | d6e73438115923699127ab8abb840728259e56b7 (patch) | |
tree | 9258d70188b6e93eb1546b9473170e3331ccd0c8 /app/src/main/res/layout/fragment_settings_admin.xml | |
parent | 4647167d27267caf097e89bbcb06577ff1d8a548 (diff) | |
parent | ea824daa6d81e412851544867327ac0c05c1177e (diff) |
Merge branch 'develop'
# Conflicts:
# app/build.gradle
Diffstat (limited to 'app/src/main/res/layout/fragment_settings_admin.xml')
-rw-r--r-- | app/src/main/res/layout/fragment_settings_admin.xml | 97 |
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> |