From 7a3d51b8e29d15155fe7852f2bceeb0e2862088d Mon Sep 17 00:00:00 2001 From: HyeseonBaek Date: Mon, 19 Feb 2024 22:35:17 +0900 Subject: [PATCH] =?UTF-8?q?[ui]=20#242=20=EB=AA=A9=ED=91=9C=20=ED=99=95?= =?UTF-8?q?=EC=9D=B8=20=EC=B9=B4=EB=93=9C=20=EB=94=94=EC=9E=90=EC=9D=B8=20?= =?UTF-8?q?=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/res/drawable/ic_mypage_checked.xml | 18 ++ .../main/res/drawable/ic_mypage_unchecked.xml | 18 ++ ...rect.xml => shape_gray200_line_8_rect.xml} | 4 +- .../drawable/shape_gray50_fill_14_rect.xml | 7 + app/src/main/res/layout/fragment_my_page.xml | 205 ++++++++++++++---- 5 files changed, 206 insertions(+), 46 deletions(-) create mode 100644 app/src/main/res/drawable/ic_mypage_checked.xml create mode 100644 app/src/main/res/drawable/ic_mypage_unchecked.xml rename app/src/main/res/drawable/{shape_gray0_fill_16_rect.xml => shape_gray200_line_8_rect.xml} (71%) create mode 100644 app/src/main/res/drawable/shape_gray50_fill_14_rect.xml diff --git a/app/src/main/res/drawable/ic_mypage_checked.xml b/app/src/main/res/drawable/ic_mypage_checked.xml new file mode 100644 index 00000000..ecc37706 --- /dev/null +++ b/app/src/main/res/drawable/ic_mypage_checked.xml @@ -0,0 +1,18 @@ + + + + diff --git a/app/src/main/res/drawable/ic_mypage_unchecked.xml b/app/src/main/res/drawable/ic_mypage_unchecked.xml new file mode 100644 index 00000000..eefefc6d --- /dev/null +++ b/app/src/main/res/drawable/ic_mypage_unchecked.xml @@ -0,0 +1,18 @@ + + + + diff --git a/app/src/main/res/drawable/shape_gray0_fill_16_rect.xml b/app/src/main/res/drawable/shape_gray200_line_8_rect.xml similarity index 71% rename from app/src/main/res/drawable/shape_gray0_fill_16_rect.xml rename to app/src/main/res/drawable/shape_gray200_line_8_rect.xml index d0f51183..d05d923f 100644 --- a/app/src/main/res/drawable/shape_gray0_fill_16_rect.xml +++ b/app/src/main/res/drawable/shape_gray200_line_8_rect.xml @@ -1,10 +1,8 @@ - - + diff --git a/app/src/main/res/drawable/shape_gray50_fill_14_rect.xml b/app/src/main/res/drawable/shape_gray50_fill_14_rect.xml new file mode 100644 index 00000000..e1a7ffc2 --- /dev/null +++ b/app/src/main/res/drawable/shape_gray50_fill_14_rect.xml @@ -0,0 +1,7 @@ + + + + + diff --git a/app/src/main/res/layout/fragment_my_page.xml b/app/src/main/res/layout/fragment_my_page.xml index 59171172..3673e3c3 100644 --- a/app/src/main/res/layout/fragment_my_page.xml +++ b/app/src/main/res/layout/fragment_my_page.xml @@ -53,9 +53,9 @@ @@ -66,24 +66,22 @@ android:layout_height="wrap_content" android:layout_marginTop="33dp" android:layout_marginBottom="30dp" - app:setMyPageLevelResource="@{data.userLevel}" app:imageViewId='@{"BUBBLE"}' app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toTopOf="parent" + app:setMyPageLevelResource="@{data.userLevel}" /> - + app:layout_constraintTop_toBottomOf="@id/iv_mypage_bubble" + app:setMyPageLevelResource="@{data.userLevel}" /> + app:layout_constraintTop_toBottomOf="@id/iv_mypage_edit_nickname"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + app:layout_constraintTop_toBottomOf="@id/cl_mypage_goal" /> + - + app:layout_constraintTop_toTopOf="parent" + app:savedAmount="@{data.amountSavedHundredDays}" /> + app:layout_constraintTop_toTopOf="parent" + app:savedAmount="@{data.amountSavedHundredDays}" /> @@ -326,10 +445,10 @@ android:layout_height="wrap_content" android:layout_marginEnd="4dp" app:item="@{`SNEAKERS`}" - app:savedAmount="@{data.amountSavedHundredDays}" app:layout_constraintEnd_toStartOf="@+id/l_mypage_item_airpod" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toTopOf="parent" + app:savedAmount="@{data.amountSavedHundredDays}" /> + app:layout_constraintTop_toTopOf="parent" + app:savedAmount="@{data.amountSavedHundredDays}" /> @@ -378,11 +497,11 @@