diff --git a/app/src/main/res/drawable/background_img_small.png b/app/src/main/res/drawable/background_img_small.png new file mode 100644 index 0000000..183d649 Binary files /dev/null and b/app/src/main/res/drawable/background_img_small.png differ diff --git a/app/src/main/res/layout/fragment_community.xml b/app/src/main/res/layout/fragment_community.xml index 3f0083f..212740f 100644 --- a/app/src/main/res/layout/fragment_community.xml +++ b/app/src/main/res/layout/fragment_community.xml @@ -6,60 +6,56 @@ android:layout_height="match_parent" tools:context=".ui.fragment.CommunityFragment"> - - - + android:layout_height="match_parent"> + android:outlineSpotShadowColor="@color/dark_green"> - + android:background="@drawable/background_img_small" + android:importantForAccessibility="no" + app:layout_behavior="@string/appbar_scrolling_view_behavior" /> - + android:layout_height="match_parent" + android:orientation="vertical" + app:layout_behavior="@string/appbar_scrolling_view_behavior"> + + + + + - + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_health.xml b/app/src/main/res/layout/fragment_health.xml index ddff6f1..1b501d3 100644 --- a/app/src/main/res/layout/fragment_health.xml +++ b/app/src/main/res/layout/fragment_health.xml @@ -5,301 +5,302 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - - - - + android:layout_height="match_parent"> - - - - - - - - + android:fitsSystemWindows="true" + android:outlineAmbientShadowColor="@color/dark_green" + android:outlineSpotShadowColor="@color/dark_green"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + android:background="@color/dark_green" + app:layout_scrollFlags="scroll|enterAlways|snap" + app:title="Health" /> + - + - - + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + > - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + diff --git a/app/src/main/res/layout/fragment_leaderboard.xml b/app/src/main/res/layout/fragment_leaderboard.xml index 38eccaf..4a00b4f 100644 --- a/app/src/main/res/layout/fragment_leaderboard.xml +++ b/app/src/main/res/layout/fragment_leaderboard.xml @@ -1,145 +1,145 @@ - + android:background="@color/backgroundColor"> - - + + - + app:layout_constraintTop_toTopOf="parent" + app:layout_scrollFlags="scroll|enterAlways|snap" + app:title="Leaderboard" /> + + + + - - - - - - - + app:iconifiedByDefault="false" + app:queryHint="Search The LeaderBoard..." /> - + + - + + + android:layout_alignParentStart="true" + android:layout_alignParentEnd="true" + android:layout_marginLeft="10dp" + android:layout_marginTop="10dp" + android:layout_marginRight="10dp" + android:orientation="horizontal"> + + + + + + + - - - - - - - - + android:layout_below="@+id/llUserName" + android:layout_marginStart="10dp" + android:ellipsize="end" + android:maxLines="1" + android:text="ashishgupta9936@gmail.com" + android:textSize="17sp" /> + + + + + - - - - + android:layout_height="wrap_content" + android:layout_below="@id/rankOfUser" + android:clipToPadding="false" + android:paddingTop="16dp" + tools:listitem="@layout/item_leaderboard" /> + + \ No newline at end of file