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_trackers.xml | |
parent | f4fe8a4d881deef7e43ffe296df804c8c2c7a657 (diff) |
Fix UI bugs and reformat code
Diffstat (limited to 'app/src/main/res/layout/fragment_trackers.xml')
-rw-r--r-- | app/src/main/res/layout/fragment_trackers.xml | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/app/src/main/res/layout/fragment_trackers.xml b/app/src/main/res/layout/fragment_trackers.xml index 13fcab3..591b2b6 100644 --- a/app/src/main/res/layout/fragment_trackers.xml +++ b/app/src/main/res/layout/fragment_trackers.xml @@ -2,23 +2,23 @@ <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_width="match_parent" android:layout_height="match_parent" android:layout_marginBottom="32dp" + 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" @@ -27,9 +27,9 @@ <TextView android:id="@+id/trackers_info" - 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/manage_trackers_info" android:textColor="@color/black" @@ -37,11 +37,11 @@ /> <TextView - android:id="@+id/learn_more_trackers_info" - android:layout_width="wrap_content" - android:layout_height="48dp" android:fontFamily="sans-serif-medium" android:gravity="center_vertical" + android:id="@+id/learn_more_trackers_info" + android:layout_height="48dp" + android:layout_width="wrap_content" android:text="@string/learn_more" android:textColor="#007fff" android:textSize="14sp" @@ -55,19 +55,21 @@ /> <TextView - 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/following_trackers_in_use" android:textColor="@color/black" android:textSize="16sp" /> + <androidx.recyclerview.widget.RecyclerView - android:layout_width="match_parent" + android:id="@+id/recylcer_view_trackers" android:layout_height="match_parent" + android:layout_width="match_parent" tools:listitem="@layout/item_list_tracker" - android:id="@+id/recylcer_view_trackers"/> + /> </LinearLayout> </androidx.core.widget.NestedScrollView> </androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file |