Skip to content

Commit

Permalink
[Design/#61] 버튼 디자인 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ss99x2002 committed Jul 15, 2023
1 parent 34fb5ce commit aa515de
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions app/src/main/res/layout/fragment_home.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:app="http://schemas.android.com/apk/res-auto">
<layout xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tool="http://schemas.android.com/tools">

<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/layout_root"
Expand All @@ -10,9 +11,11 @@
android:id="@+id/iv_background"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
android:src="@drawable/bg_home1"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
android:scaleType="fitXY"
app:layout_constraintTop_toTopOf="parent" />

<TextView
Expand All @@ -22,13 +25,13 @@
android:layout_marginStart="24dp"
android:layout_marginTop="40dp"
android:background="@drawable/shape_pri600_r84_rect"
android:gravity="center"
android:gravity="left|center"
android:paddingHorizontal="40dp"
android:text="@string/answer_title"
android:textAppearance="@style/BrandTypeBigRegular20"
android:textColor="@color/umbba_white"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
app:layout_constraintTop_toTopOf="parent"
tool:text="#68 가장 오래된 기억" />

<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btn_answer"
Expand All @@ -37,10 +40,10 @@
android:layout_height="60dp"
android:layout_marginHorizontal="24dp"
android:layout_marginBottom="12dp"
android:background="@drawable/shape_gradient_btn_r50_rect"
android:background="@drawable/shape_pri500_stroke_r56_rect"
android:stateListAnimator="@null"
android:text="@string/home_question_answer"
android:textColor="@color/white"
android:textColor="@color/primary_500"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
Expand Down

0 comments on commit aa515de

Please sign in to comment.