Create new screen for administration

This commit is contained in:
M M Arif
2020-04-23 17:05:50 +05:00
parent dd1fce892a
commit d7ef368f0b
8 changed files with 69 additions and 72 deletions

View File

@ -1,16 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="8dp"
android:background="?attr/primaryBackgroundColor"
android:paddingTop="8dp">
android:layout_height="match_parent"
android:background="?attr/primaryBackgroundColor">
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ScrollView android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/primaryBackgroundColor">
<LinearLayout
android:layout_width="match_parent"
@ -24,13 +20,18 @@
android:layout_gravity="center_vertical"
android:text="@string/adminUsers"
android:drawableStart="@drawable/ic_users"
android:drawablePadding="24dp"
android:drawablePadding="32dp"
android:textColor="?attr/primaryTextColor"
android:textSize="16sp"
android:padding="16dp" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?attr/dividerColor" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</ScrollView>
</LinearLayout>
</RelativeLayout>

View File

@ -50,16 +50,6 @@
android:paddingStart="20dp"
android:paddingEnd="5dp" />
<ImageView
android:id="@+id/navSubMenu"
android:layout_width="0dp"
android:layout_weight="0.15"
android:layout_height="wrap_content"
android:src="@drawable/ic_dotted_menu"
android:layout_gravity="bottom"
android:scaleType="fitStart"
android:contentDescription="@string/menuContentDesc"/>
</LinearLayout>
<View