Skip to content

Commit

Permalink
[Design/#61] Dialog 버튼 간격 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ss99x2002 committed Jul 15, 2023
1 parent e9359e3 commit 14cb43b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions app/src/main/res/layout/fragment_back_answer_dialog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
android:textColor="@color/umbba_black"
app:layout_constraintEnd_toStartOf="@id/btn_confirm"
app:layout_constraintStart_toStartOf="parent"
android:layout_marginEnd="8dp"
app:layout_constraintTop_toTopOf="parent" />

<androidx.appcompat.widget.AppCompatButton
Expand All @@ -54,6 +55,7 @@
android:layout_height="48dp"
android:background="@drawable/shape_pri500_btn_r50_rect"
android:text="@string/confirm"
android:layout_marginStart="8dp"
android:textColor="@color/umbba_white"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/btn_cancel"
Expand Down
10 changes: 7 additions & 3 deletions app/src/main/res/layout/fragment_confirm_answer_dialog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
tools:context=".presentation.qna.ConfirmAnswerDialogFragment">

<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/cl_topic"
android:id="@+id/cl_section"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginHorizontal="83dp"
Expand All @@ -25,7 +25,7 @@
app:layout_constraintTop_toTopOf="parent">

<TextView
android:id="@+id/tv_topic"
android:id="@+id/tv_section"
style="@style/BrandTypeSmallSemiBold16"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
Expand All @@ -48,7 +48,7 @@
android:textColor="@color/umbba_black"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/cl_topic"
app:layout_constraintTop_toBottomOf="@id/cl_section"
tools:text="#1 가장 오래된 기억" />

<TextView
Expand All @@ -71,6 +71,8 @@
android:layout_marginHorizontal="16dp"
android:layout_marginTop="24dp"
android:textColor="@color/umbba_black"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_question"
tools:text="@string/content_example" />

Expand Down Expand Up @@ -105,6 +107,7 @@
android:background="@drawable/shape_grey_btn_r50_stroke_rect"
android:stateListAnimator="@null"
android:text="@string/back"
android:layout_marginEnd="8dp"
android:textColor="@color/umbba_black"
app:layout_constraintEnd_toStartOf="@id/btn_confirm"
app:layout_constraintStart_toStartOf="parent"
Expand All @@ -117,6 +120,7 @@
android:layout_height="48dp"
android:background="@drawable/shape_pri500_btn_r50_rect"
android:text="@string/save"
android:layout_marginStart="8dp"
android:textColor="@color/umbba_white"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/btn_back"
Expand Down

0 comments on commit 14cb43b

Please sign in to comment.