|
42 | 42 | android:orientation="horizontal"
|
43 | 43 | app:layout_constraintGuide_begin="35dp" />
|
44 | 44 |
|
| 45 | + <ImageView |
| 46 | + android:id="@+id/image_view_start_position" |
| 47 | + android:layout_width="wrap_content" |
| 48 | + android:layout_height="wrap_content" |
| 49 | + android:background="@drawable/ic_start_marker" |
| 50 | + android:elevation="15dp" |
| 51 | + app:layout_constraintBottom_toBottomOf="@id/text_view_start_position" |
| 52 | + app:layout_constraintEnd_toStartOf="@id/text_view_start_position" |
| 53 | + app:layout_constraintHorizontal_chainStyle="spread_inside" |
| 54 | + app:layout_constraintStart_toStartOf="@id/guide_line_start" |
| 55 | + app:layout_constraintTop_toTopOf="@id/text_view_start_position" |
| 56 | + app:layout_constraintVertical_bias="0.0" /> |
| 57 | + |
45 | 58 | <TextView
|
46 | 59 | android:id="@+id/text_view_start_position"
|
47 | 60 | android:layout_width="0dp"
|
48 | 61 | android:layout_height="wrap_content"
|
49 |
| - android:background="@drawable/background_gray_d9_8" |
| 62 | + android:layout_marginStart="5dp" |
| 63 | + android:background="@drawable/background_button" |
| 64 | + android:elevation="15dp" |
50 | 65 | android:ellipsize="end"
|
51 | 66 | android:maxLines="1"
|
52 |
| - android:padding="8dp" |
| 67 | + android:paddingHorizontal="10dp" |
| 68 | + android:paddingVertical="8dp" |
53 | 69 | android:text="@{@string/start_position_text(viewModel.alarmItem.startPosition)}"
|
54 | 70 | android:textColor="@color/black"
|
55 |
| - android:textSize="24sp" |
56 |
| - android:textStyle="bold" |
| 71 | + android:textSize="20sp" |
57 | 72 | app:layout_constraintEnd_toEndOf="@id/guide_line_end"
|
| 73 | + app:layout_constraintStart_toEndOf="@id/image_view_start_position" |
| 74 | + app:layout_constraintTop_toTopOf="@id/guideline_top" |
| 75 | + tools:text="์ถ๋ฐ์ง : ์์ฑ์ ํ ํผ์" /> |
| 76 | + |
| 77 | + <ImageView |
| 78 | + android:id="@+id/image_view_end_position" |
| 79 | + android:layout_width="wrap_content" |
| 80 | + android:layout_height="wrap_content" |
| 81 | + android:background="@drawable/ic_place_marker" |
| 82 | + android:elevation="15dp" |
| 83 | + app:layout_constraintBottom_toBottomOf="@id/text_view_end_position" |
| 84 | + app:layout_constraintEnd_toStartOf="@id/text_view_end_position" |
| 85 | + app:layout_constraintHorizontal_chainStyle="spread_inside" |
58 | 86 | app:layout_constraintStart_toStartOf="@id/guide_line_start"
|
59 |
| - app:layout_constraintTop_toTopOf="@id/guideline_top" /> |
| 87 | + app:layout_constraintTop_toTopOf="@id/text_view_end_position" |
| 88 | + app:layout_constraintVertical_bias="0.0" /> |
60 | 89 |
|
61 | 90 | <TextView
|
62 | 91 | android:id="@+id/text_view_end_position"
|
63 | 92 | android:layout_width="0dp"
|
64 | 93 | android:layout_height="wrap_content"
|
65 | 94 | android:layout_marginTop="8dp"
|
66 |
| - android:background="@drawable/background_gray_d9_8" |
| 95 | + android:layout_marginStart="5dp" |
| 96 | + android:background="@drawable/background_button" |
| 97 | + android:elevation="15dp" |
67 | 98 | android:ellipsize="end"
|
68 | 99 | android:maxLines="1"
|
69 |
| - android:padding="8dp" |
| 100 | + android:paddingHorizontal="10dp" |
| 101 | + android:paddingVertical="8dp" |
70 | 102 | android:text="@{@string/end_position_text(viewModel.alarmItem.endPosition)}"
|
71 | 103 | android:textColor="@color/black"
|
72 |
| - android:textSize="24sp" |
73 |
| - android:textStyle="bold" |
| 104 | + android:textSize="20sp" |
74 | 105 | app:layout_constraintEnd_toEndOf="@id/guide_line_end"
|
| 106 | + app:layout_constraintStart_toEndOf="@id/image_view_end_position" |
| 107 | + app:layout_constraintTop_toBottomOf="@id/text_view_start_position" |
| 108 | + tools:text="๋์ฐฉ์ง : ์๋จํ์๋น๋ฉ" /> |
| 109 | + |
| 110 | + <ImageView |
| 111 | + android:id="@+id/image_view_last_time" |
| 112 | + android:layout_width="40dp" |
| 113 | + android:layout_height="40dp" |
| 114 | + android:background="@drawable/ic_alarm" |
| 115 | + android:elevation="15dp" |
| 116 | + app:layout_constraintBottom_toBottomOf="@id/text_view_last_time" |
| 117 | + app:layout_constraintEnd_toStartOf="@id/text_view_last_time" |
| 118 | + app:layout_constraintHorizontal_chainStyle="spread_inside" |
75 | 119 | app:layout_constraintStart_toStartOf="@id/guide_line_start"
|
76 |
| - app:layout_constraintTop_toBottomOf="@id/text_view_start_position" /> |
| 120 | + app:layout_constraintTop_toTopOf="@id/text_view_last_time" |
| 121 | + app:layout_constraintVertical_bias="0.0" /> |
77 | 122 |
|
78 | 123 | <TextView
|
79 | 124 | android:id="@+id/text_view_last_time"
|
80 | 125 | android:layout_width="0dp"
|
81 | 126 | android:layout_height="wrap_content"
|
82 | 127 | android:layout_marginTop="8dp"
|
83 |
| - android:background="@drawable/background_gray_d9_8" |
| 128 | + android:layout_marginStart="5dp" |
| 129 | + android:background="@drawable/background_button" |
| 130 | + android:elevation="15dp" |
84 | 131 | android:ellipsize="end"
|
85 | 132 | android:maxLines="1"
|
86 |
| - android:padding="8dp" |
| 133 | + android:paddingHorizontal="10dp" |
| 134 | + android:paddingVertical="8dp" |
87 | 135 | android:text="@{@string/last_time_text(viewModel.alarmItem.lastTime)}"
|
88 | 136 | android:textColor="@color/black"
|
89 |
| - android:textSize="24sp" |
90 |
| - android:textStyle="bold" |
| 137 | + android:textSize="20sp" |
91 | 138 | app:layout_constraintEnd_toEndOf="@id/guide_line_end"
|
| 139 | + app:layout_constraintStart_toEndOf="@id/image_view_last_time" |
| 140 | + app:layout_constraintTop_toBottomOf="@id/text_view_end_position" |
| 141 | + tools:text="๋ง์ฐจ์๊ฐ : 24:09:09" /> |
| 142 | + |
| 143 | + <ImageView |
| 144 | + android:id="@+id/image_view_walk_time" |
| 145 | + android:layout_width="40dp" |
| 146 | + android:layout_height="40dp" |
| 147 | + android:background="@drawable/ic_baseline_directions_walk_32" |
| 148 | + android:elevation="15dp" |
| 149 | + app:layout_constraintBottom_toBottomOf="@id/text_view_walk_time" |
| 150 | + app:layout_constraintEnd_toStartOf="@id/text_view_walk_time" |
| 151 | + app:layout_constraintHorizontal_chainStyle="spread_inside" |
92 | 152 | app:layout_constraintStart_toStartOf="@id/guide_line_start"
|
93 |
| - app:layout_constraintTop_toBottomOf="@id/text_view_end_position" /> |
| 153 | + app:layout_constraintTop_toTopOf="@id/text_view_walk_time" |
| 154 | + app:layout_constraintVertical_bias="0.0" /> |
94 | 155 |
|
95 | 156 | <TextView
|
96 | 157 | android:id="@+id/text_view_walk_time"
|
97 | 158 | android:layout_width="0dp"
|
98 | 159 | android:layout_height="wrap_content"
|
99 | 160 | android:layout_marginTop="8dp"
|
100 |
| - android:background="@drawable/background_gray_d9_8" |
| 161 | + android:layout_marginStart="5dp" |
| 162 | + android:background="@drawable/background_button" |
| 163 | + android:elevation="15dp" |
101 | 164 | android:ellipsize="end"
|
102 | 165 | android:maxLines="1"
|
103 |
| - android:padding="8dp" |
| 166 | + android:paddingHorizontal="10dp" |
| 167 | + android:paddingVertical="8dp" |
104 | 168 | android:text="@{@string/walk_time_text(viewModel.alarmItem.walkTime)}"
|
105 | 169 | android:textColor="@color/black"
|
106 |
| - android:textSize="24sp" |
107 |
| - android:textStyle="bold" |
| 170 | + android:textSize="20sp" |
108 | 171 | app:layout_constraintEnd_toEndOf="@id/guide_line_end"
|
109 |
| - app:layout_constraintStart_toStartOf="@id/guide_line_start" |
110 |
| - app:layout_constraintTop_toBottomOf="@id/text_view_last_time" /> |
| 172 | + app:layout_constraintStart_toEndOf="@id/image_view_walk_time" |
| 173 | + app:layout_constraintTop_toBottomOf="@id/text_view_last_time" |
| 174 | + tools:text="๋๋ณด์๊ฐ : 9๋ถ" /> |
111 | 175 |
|
112 | 176 | <TextView
|
113 | 177 | android:id="@+id/text_view_mission_start"
|
114 | 178 | android:layout_width="180dp"
|
115 | 179 | android:layout_height="180dp"
|
116 | 180 | android:background="@drawable/selector_mission_start_button"
|
117 | 181 | android:gravity="center"
|
118 |
| - android:text="@string/mission_start" |
119 |
| - android:textColor="@color/black" |
120 |
| - android:textSize="36sp" |
121 |
| - android:textStyle="bold" |
122 | 182 | android:onClick="@{() -> fragment.setMissionStart()}"
|
| 183 | + android:text="@string/mission_start" |
| 184 | + android:textColor="@color/white" |
| 185 | + android:textSize="30sp" |
| 186 | + android:elevation="15dp" |
123 | 187 | app:layout_constraintBottom_toTopOf="@id/button_alarm_turn_off"
|
124 | 188 | app:layout_constraintEnd_toEndOf="@id/guide_line_end"
|
125 | 189 | app:layout_constraintStart_toStartOf="@id/guide_line_start"
|
126 | 190 | app:layout_constraintTop_toBottomOf="@id/text_view_walk_time" />
|
127 | 191 |
|
128 |
| - <com.google.android.material.button.MaterialButton |
| 192 | + <Button |
129 | 193 | android:id="@+id/button_alarm_turn_off"
|
130 |
| - style="@style/Widget.Material3.Button.OutlinedButton" |
131 | 194 | android:layout_width="0dp"
|
132 | 195 | android:layout_height="wrap_content"
|
133 | 196 | android:layout_marginBottom="24dp"
|
134 | 197 | android:text="@string/alarm_delete_text"
|
135 |
| - android:textColor="@color/black" |
136 |
| - android:textSize="24sp" |
137 |
| - android:textStyle="bold" |
| 198 | + android:textColor="@color/white" |
| 199 | + android:textSize="20sp" |
| 200 | + android:background="@drawable/button_background" |
138 | 201 | app:layout_constraintBottom_toBottomOf="parent"
|
139 | 202 | app:layout_constraintEnd_toEndOf="@id/guide_line_end"
|
140 | 203 | app:layout_constraintStart_toStartOf="@id/guide_line_start" />
|
|
0 commit comments