diff options
| author | Amit Kumar <amitkma@e.email> | 2021-06-16 01:57:50 +0530 |
|---|---|---|
| committer | Amit Kumar <amitkma@e.email> | 2021-06-16 01:59:39 +0530 |
| commit | e40866d03008ec6dafa0016a31ee4c9e820032df (patch) | |
| tree | 6e0a1b73b1c0e87f8c46504b6ac6882ab5fc35fc /app/src/main/res/layout/fragment_tracker_apps.xml | |
| parent | f4fe8a4d881deef7e43ffe296df804c8c2c7a657 (diff) | |
| download | advanced-privacy-e40866d03008ec6dafa0016a31ee4c9e820032df.tar.gz | |
Fix UI bugs and reformat code
Diffstat (limited to 'app/src/main/res/layout/fragment_tracker_apps.xml')
| -rw-r--r-- | app/src/main/res/layout/fragment_tracker_apps.xml | 56 |
1 files changed, 32 insertions, 24 deletions
diff --git a/app/src/main/res/layout/fragment_tracker_apps.xml b/app/src/main/res/layout/fragment_tracker_apps.xml index bb31b5b..3341d95 100644 --- a/app/src/main/res/layout/fragment_tracker_apps.xml +++ b/app/src/main/res/layout/fragment_tracker_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 + <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:text="@string/enable_disable_tracker_info" - 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_tracker_apps"/> - </LinearLayout> + <TextView + 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/enable_disable_tracker_info" + android:textColor="@color/black" + android:textSize="14sp" + /> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/recylcer_view_tracker_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 |
