Skip to content

Commit eefc472

Browse files
committed
feat : 알람 등록 버튼 추가
1 parent f6f1fb0 commit eefc472

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

presentation/src/main/res/layout/fragment_alarm_setting.xml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
android:layout_height="wrap_content"
218218
android:layout_marginStart="12dp"
219219
android:layout_marginTop="9dp"
220-
app:layout_constraintBottom_toBottomOf="parent"
220+
app:layout_constraintBottom_toTopOf="@id/text_view_register_alarm"
221221
app:layout_constraintEnd_toEndOf="parent"
222222
app:layout_constraintStart_toEndOf="@id/text_view_mission_toggle"
223223
app:layout_constraintTop_toBottomOf="@id/toggle_group_alarm"
@@ -239,6 +239,22 @@
239239

240240
</com.google.android.material.button.MaterialButtonToggleGroup>
241241

242+
<TextView
243+
android:id="@+id/text_view_register_alarm"
244+
android:layout_width="0dp"
245+
android:layout_height="wrap_content"
246+
android:layout_marginBottom="24dp"
247+
android:background="@drawable/background_gray_d9_8"
248+
android:gravity="center"
249+
android:textSize="16sp"
250+
android:paddingVertical="8dp"
251+
android:text="@string/register_alarm_text"
252+
android:textColor="@color/black"
253+
android:textStyle="bold"
254+
app:layout_constraintBottom_toBottomOf="parent"
255+
app:layout_constraintEnd_toEndOf="@id/guide_line_end"
256+
app:layout_constraintStart_toStartOf="@id/guide_line_start" />
257+
242258
</androidx.constraintlayout.widget.ConstraintLayout>
243259

244260
</layout>

presentation/src/main/res/values/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@
1818
<string name="last_transport_arrival_time">막차가 %1$d시 %2$d분에 도착할 예정이에요!!</string>
1919
<string name="last_transport_walking_time">막차까지 도보 시간이 %1$d분 소요될것으로 예상돼요!!</string>
2020
<string name="alarm_time_text">알람이 막차시간 %1$d분 전에\n울리도록 설정하시겠습니까?</string>
21+
<string name="register_alarm_text">알람 등록</string>
2122
</resources>

0 commit comments

Comments
 (0)