From b8593e34c36b91121dd47da0777726d97441a4fa Mon Sep 17 00:00:00 2001 From: Prince Raj Date: Sat, 16 Dec 2023 11:54:57 +0530 Subject: [PATCH] fix: revamp of community page ui --- .../main/res/layout/fragment_community.xml | 81 +++++++++---------- .../main/res/layout/item_community_list.xml | 66 ++++++--------- .../res/layout/user_community_member_list.xml | 74 +++++++---------- 3 files changed, 94 insertions(+), 127 deletions(-) diff --git a/app/src/main/res/layout/fragment_community.xml b/app/src/main/res/layout/fragment_community.xml index 436c735..3f0083f 100644 --- a/app/src/main/res/layout/fragment_community.xml +++ b/app/src/main/res/layout/fragment_community.xml @@ -1,17 +1,27 @@ + android:orientation="vertical"> + + + - - - + - + app:layout_constraintTop_toBottomOf="@+id/appBarLayout" /> - - + - - - - - + app:tint="@color/white" /> - - - - \ No newline at end of file diff --git a/app/src/main/res/layout/item_community_list.xml b/app/src/main/res/layout/item_community_list.xml index cdb0a89..16faac9 100644 --- a/app/src/main/res/layout/item_community_list.xml +++ b/app/src/main/res/layout/item_community_list.xml @@ -1,53 +1,39 @@ - - - - - - - - + android:orientation="vertical"> + + + + - - - + android:textColor="@color/white" + android:textSize="20sp" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + \ No newline at end of file diff --git a/app/src/main/res/layout/user_community_member_list.xml b/app/src/main/res/layout/user_community_member_list.xml index 8c10952..2816304 100644 --- a/app/src/main/res/layout/user_community_member_list.xml +++ b/app/src/main/res/layout/user_community_member_list.xml @@ -1,75 +1,61 @@ + app:cardCornerRadius="8dp" + app:cardElevation="10dp"> + android:orientation="vertical"> + android:orientation="horizontal"> + android:layout_width="20dp" + android:layout_height="20dp" + android:src="@drawable/profile_icon" /> - + android:textColor="@color/black" + android:textSize="14sp" /> - + + - - - - - - - + android:layout_margin="4dp" + android:textSize="16sp" /> + + - - \ No newline at end of file