aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/fragment_permission_apps.xml
diff options
context:
space:
mode:
authorAmit Kumar <amitkma@e.email>2021-06-16 01:57:50 +0530
committerAmit Kumar <amitkma@e.email>2021-06-16 01:59:39 +0530
commite40866d03008ec6dafa0016a31ee4c9e820032df (patch)
tree6e0a1b73b1c0e87f8c46504b6ac6882ab5fc35fc /app/src/main/res/layout/fragment_permission_apps.xml
parentf4fe8a4d881deef7e43ffe296df804c8c2c7a657 (diff)
downloadadvanced-privacy-e40866d03008ec6dafa0016a31ee4c9e820032df.tar.gz
Fix UI bugs and reformat code
Diffstat (limited to 'app/src/main/res/layout/fragment_permission_apps.xml')
-rw-r--r--app/src/main/res/layout/fragment_permission_apps.xml56
1 files changed, 32 insertions, 24 deletions
diff --git a/app/src/main/res/layout/fragment_permission_apps.xml b/app/src/main/res/layout/fragment_permission_apps.xml
index 760c891..db61e93 100644
--- a/app/src/main/res/layout/fragment_permission_apps.xml
+++ b/app/src/main/res/layout/fragment_permission_apps.xml
@@ -2,37 +2,45 @@
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
android:background="@color/white"
+ android:layout_height="match_parent"
+ android:layout_width="match_parent"
>
- <include layout="@layout/topbar"/>
+ <include layout="@layout/topbar" />
- <LinearLayout
- android:layout_width="match_parent"
+ <androidx.core.widget.NestedScrollView
android:layout_height="match_parent"
- android:orientation="vertical"
- tools:context=".main.MainActivity"
+ android:layout_width="match_parent"
+ app:layout_behavior="@string/appbar_scrolling_view_behavior"
>
- <TextView
- android:id="@+id/permission_control"
+ <LinearLayout
+ android:layout_height="match_parent"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:paddingTop="16dp"
- android:paddingBottom="16dp"
- android:paddingLeft="32dp"
- android:paddingRight="32dp"
- android:textColor="@color/black"
- android:textSize="14sp"
- />
+ android:orientation="vertical"
+ tools:context=".main.MainActivity"
+ >
- <androidx.recyclerview.widget.RecyclerView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:listitem="@layout/item_app_toggle"
- android:id="@+id/recylcer_view_permission_apps"/>
- </LinearLayout>
+ <TextView
+ android:id="@+id/permission_control"
+ android:layout_gravity="center_horizontal"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:paddingBottom="16dp"
+ android:paddingLeft="32dp"
+ android:paddingRight="32dp"
+ android:paddingTop="16dp"
+ android:textColor="@color/black"
+ android:textSize="14sp"
+ />
+
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/recylcer_view_permission_apps"
+ android:layout_height="match_parent"
+ android:layout_width="match_parent"
+ tools:listitem="@layout/item_app_toggle"
+ />
+ </LinearLayout>
+ </androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file