diff options
Diffstat (limited to 'app/src/main/res/layout/fragment_quick_protection.xml')
| -rw-r--r-- | app/src/main/res/layout/fragment_quick_protection.xml | 91 |
1 files changed, 51 insertions, 40 deletions
diff --git a/app/src/main/res/layout/fragment_quick_protection.xml b/app/src/main/res/layout/fragment_quick_protection.xml index d57a101..569f9b1 100644 --- a/app/src/main/res/layout/fragment_quick_protection.xml +++ b/app/src/main/res/layout/fragment_quick_protection.xml @@ -1,59 +1,70 @@ <?xml version="1.0" encoding="utf-8"?> <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" - android:layout_marginBottom="56dp" - tools:context=".main.MainActivity" + android:layout_width="match_parent" + app:layout_behavior="@string/appbar_scrolling_view_behavior" > - <TextView - android:id="@+id/quick_protection_info" + <LinearLayout + android:layout_height="match_parent" + android:layout_marginBottom="56dp" android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:paddingLeft="32dp" - android:paddingRight="32dp" - android:paddingTop="16dp" - android:text="@string/quick_protection_info" - android:textColor="@color/black" - android:textSize="14sp" - /> + android:orientation="vertical" + tools:context=".main.MainActivity" + > + + <TextView + android:id="@+id/quick_protection_info" + android:layout_gravity="center_horizontal" + android:layout_height="wrap_content" + android:layout_width="match_parent" + android:paddingLeft="32dp" + android:paddingRight="32dp" + android:paddingTop="16dp" + android:text="@string/quick_protection_info" + android:textColor="@color/black" + android:textSize="14sp" + /> + + <TextView + android:fontFamily="sans-serif-medium" + android:id="@+id/quick_protection_settings_list" + 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:text="@string/quick_protection_settings_list" + android:textColor="@color/black" + android:textSize="14sp" + /> + </LinearLayout> + + </androidx.core.widget.NestedScrollView> - <TextView - android:id="@+id/quick_protection_settings_list" - 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:fontFamily="sans-serif-medium" - android:text="@string/quick_protection_settings_list" - android:textColor="@color/black" - android:textSize="14sp" - /> - </LinearLayout> <TextView - android:layout_width="wrap_content" + android:fontFamily="sans-serif-medium" + android:gravity="center_vertical|end" + android:id="@+id/learn_more" + android:layout_gravity="bottom|end" android:layout_height="56dp" - android:paddingRight="32dp" + android:layout_width="wrap_content" android:paddingLeft="32dp" - android:gravity="center_vertical|right" - android:id="@+id/learn_more" + android:paddingRight="32dp" android:text="@string/learn_more" android:textColor="#007fff" android:textSize="14sp" - android:fontFamily="sans-serif-medium" - android:layout_gravity="bottom|right"/> + /> </androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file |
