Skip to content

Commit

Permalink
[FIX/#137] 취향 태그 뷰 UI 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeyubin committed Jan 16, 2024
1 parent a02be91 commit 0de00a7
Showing 1 changed file with 38 additions and 14 deletions.
52 changes: 38 additions & 14 deletions presentation/src/main/res/layout/item_preference_tag.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,41 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">

<TextView
android:id="@+id/tv_preference_number"
style="@style/TextAppearance.Doorip.Detail2.Regular"
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/layout_preference_number"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:background="@drawable/ic_preference_union"
android:gravity="center"
android:textColor="@color/white_000"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:text="01" />
app:layout_constraintTop_toTopOf="parent">

<ImageView
android:id="@+id/iv_preference_number"
android:layout_width="wrap_content"
android:adjustViewBounds="true"
android:layout_height="0dp"
android:paddingVertical="2dp"
android:src="@drawable/ic_preference_union"
app:layout_constraintTop_toTopOf="@id/tv_preference_number"
app:layout_constraintBottom_toBottomOf="@id/tv_preference_number"
app:layout_constraintStart_toStartOf="@id/tv_preference_number"
app:layout_constraintEnd_toEndOf="@id/tv_preference_number"/>

<TextView
android:id="@+id/tv_preference_number"
style="@style/TextAppearance.Doorip.Detail2.Regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:textColor="@color/white_000"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:text="01" />

</androidx.constraintlayout.widget.ConstraintLayout>

<TextView
android:id="@+id/tv_preference_question"
Expand All @@ -41,7 +63,7 @@
android:textColor="@color/gray_700"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_preference_number"
app:layout_constraintTop_toBottomOf="@id/layout_preference_number"
tools:text="계획은 얼만큼 짤까요?" />

<RadioGroup
Expand Down Expand Up @@ -105,13 +127,14 @@
<TextView
android:id="@+id/tv_preference_tag1"
style="@style/TextAppearance.Doorip.Detail2.Regular"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="4dp"
android:layout_marginBottom="16dp"
android:textColor="@color/gray_700"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/tv_preference_tag2"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/rg_preference_tag"
tools:text="철저하게" />
Expand All @@ -126,25 +149,26 @@
android:text="@string/preference_no_matter"
android:textColor="@color/gray_700"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toStartOf="@id/tv_preference_tag3"
app:layout_constraintStart_toEndOf="@id/tv_preference_tag1"
app:layout_constraintTop_toBottomOf="@id/rg_preference_tag" />

<TextView
android:id="@+id/tv_preference_tag3"
style="@style/TextAppearance.Doorip.Detail2.Regular"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:layout_marginEnd="20dp"
android:layout_marginBottom="16dp"
android:gravity="end"
android:textColor="@color/gray_700"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/tv_preference_tag2"
app:layout_constraintTop_toBottomOf="@id/rg_preference_tag"
tools:text="즉흥으로" />

</androidx.constraintlayout.widget.ConstraintLayout>

</androidx.constraintlayout.widget.ConstraintLayout>

0 comments on commit 0de00a7

Please sign in to comment.