summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_permissions.xml
diff options
context:
space:
mode:
authorRomain Hunault <romain.hunault@e.email>2021-08-13 10:14:03 +0000
committerRomain Hunault <romain.hunault@e.email>2021-08-13 10:14:03 +0000
commitdaea2f9510ac1af22a4e2e2f3db7c2d6d314008b (patch)
tree2dfcd606e8693a79520f9931e566c237547e7cd1 /app/src/main/res/layout/fragment_permissions.xml
parent97b51f18dcc2f87a9cdd7f482033e30a6282d853 (diff)
parentf522c4615503120b5e62e45405e8c6c3b18e5e4a (diff)
Merge branch 'features/blocker' into 'master'
Add blocker feature See merge request e/privacy-central/privacycentralapp!6
Diffstat (limited to 'app/src/main/res/layout/fragment_permissions.xml')
-rw-r--r--app/src/main/res/layout/fragment_permissions.xml30
1 files changed, 19 insertions, 11 deletions
diff --git a/app/src/main/res/layout/fragment_permissions.xml b/app/src/main/res/layout/fragment_permissions.xml
index a452570..7ca4b43 100644
--- a/app/src/main/res/layout/fragment_permissions.xml
+++ b/app/src/main/res/layout/fragment_permissions.xml
@@ -2,16 +2,22 @@
<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" />
+
+ <androidx.core.widget.NestedScrollView
+ android:layout_height="match_parent"
+ android:layout_width="match_parent"
+ app:layout_behavior="@string/appbar_scrolling_view_behavior"
+ >
<LinearLayout
- android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:layout_width="match_parent"
android:orientation="vertical"
android:paddingLeft="32dp"
android:paddingRight="32dp"
@@ -20,9 +26,9 @@
<TextView
android:id="@+id/permission_control"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
android:paddingTop="16dp"
android:text="@string/permission_control_info"
android:textColor="@color/black"
@@ -30,20 +36,22 @@
/>
<TextView
- android:id="@+id/learn_more_permissions"
- android:layout_width="wrap_content"
- android:layout_height="48dp"
android:fontFamily="sans-serif-medium"
android:gravity="center_vertical"
+ android:id="@+id/learn_more_permissions"
+ android:layout_height="48dp"
+ android:layout_width="wrap_content"
android:text="@string/learn_more"
android:textColor="#007fff"
android:textSize="14sp"
/>
<androidx.recyclerview.widget.RecyclerView
- android:layout_width="match_parent"
+ android:id="@+id/recylcer_view_permissions"
android:layout_height="match_parent"
+ android:layout_width="match_parent"
tools:listitem="@layout/item_permission"
- android:id="@+id/recylcer_view_permissions"/>
+ />
</LinearLayout>
+ </androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file