|
9 | 9 |
|
10 | 10 | <androidx.constraintlayout.widget.ConstraintLayout
|
11 | 11 | android:layout_width="match_parent"
|
12 |
| - android:layout_height="match_parent"> |
| 12 | + android:layout_height="match_parent" |
| 13 | + android:paddingHorizontal="40dp"> |
13 | 14 |
|
14 | 15 | <androidx.constraintlayout.widget.ConstraintLayout
|
15 | 16 | android:id="@+id/cl_happy_routine_add_card"
|
16 |
| - android:layout_width="280dp" |
17 |
| - android:layout_height="398dp" |
18 |
| - android:visibility="visible" |
| 17 | + android:layout_width="0dp" |
| 18 | + android:layout_height="0dp" |
19 | 19 | android:background="@drawable/shape_white_fill_gray100_stroke_20_rect"
|
| 20 | + android:src="@color/background" |
| 21 | + android:visibility="invisible" |
20 | 22 | app:layout_constraintBottom_toBottomOf="parent"
|
| 23 | + app:layout_constraintDimensionRatio="0.7" |
21 | 24 | app:layout_constraintEnd_toEndOf="parent"
|
22 | 25 | app:layout_constraintStart_toStartOf="parent"
|
23 | 26 | app:layout_constraintTop_toTopOf="parent">
|
|
26 | 29 | android:id="@+id/iv_happy_routine_add_card"
|
27 | 30 | android:layout_width="0dp"
|
28 | 31 | android:layout_height="match_parent"
|
| 32 | + android:adjustViewBounds="true" |
| 33 | + android:scaleType="centerCrop" |
29 | 34 | app:layout_constraintBottom_toBottomOf="parent"
|
30 | 35 | app:layout_constraintEnd_toEndOf="parent"
|
31 | 36 | app:layout_constraintStart_toStartOf="parent"
|
|
54 | 59 | android:layout_marginEnd="22dp"
|
55 | 60 | android:layout_marginBottom="22dp"
|
56 | 61 | android:src="@drawable/ic_magnify"
|
57 |
| - app:layout_constraintBottom_toBottomOf="@id/iv_happy_routine_add_card" |
58 |
| - app:layout_constraintEnd_toEndOf="@id/iv_happy_routine_add_card" /> |
| 62 | + app:layout_constraintBottom_toBottomOf="@id/cl_happy_routine_add_card" |
| 63 | + app:layout_constraintEnd_toEndOf="@id/cl_happy_routine_add_card" /> |
59 | 64 |
|
60 | 65 | </androidx.constraintlayout.widget.ConstraintLayout>
|
61 | 66 |
|
|
64 | 69 | android:layout_width="0dp"
|
65 | 70 | android:layout_height="0dp"
|
66 | 71 | android:background="@drawable/shape_white_fill_gray100_stroke_20_rect"
|
67 |
| - android:visibility="invisible" |
| 72 | + android:visibility="visible" |
68 | 73 | app:layout_constraintBottom_toBottomOf="@id/cl_happy_routine_add_card"
|
69 | 74 | app:layout_constraintEnd_toEndOf="@id/cl_happy_routine_add_card"
|
70 | 75 | app:layout_constraintStart_toStartOf="@id/cl_happy_routine_add_card"
|
|
91 | 96 | android:layout_width="match_parent"
|
92 | 97 | android:layout_height="1dp"
|
93 | 98 | android:layout_marginStart="18dp"
|
94 |
| - android:layout_marginTop="145dp" |
| 99 | + android:layout_marginTop="140dp" |
95 | 100 | android:layout_marginEnd="18dp"
|
96 | 101 | app:dividerColor="@color/gray100"
|
97 | 102 | app:layout_constraintEnd_toEndOf="parent"
|
|
107 | 112 | android:layout_marginTop="17dp"
|
108 | 113 | android:layout_marginEnd="20dp"
|
109 | 114 | android:breakStrategy="simple"
|
| 115 | + android:includeFontPadding="false" |
110 | 116 | android:lineSpacingMultiplier="1.3"
|
111 | 117 | android:textColor="@color/gray400"
|
112 | 118 | app:layout_constraintEnd_toEndOf="parent"
|
|
144 | 150 | android:layout_width="wrap_content"
|
145 | 151 | android:layout_height="wrap_content"
|
146 | 152 | android:layout_marginStart="20dp"
|
147 |
| - android:layout_marginBottom="65dp" |
| 153 | + android:layout_marginBottom="45dp" |
148 | 154 | android:src="@drawable/ic_place"
|
149 | 155 | app:layout_constraintBottom_toBottomOf="parent"
|
150 | 156 | app:layout_constraintStart_toStartOf="parent" />
|
|
0 commit comments