165 lines
6.2 KiB
XML
165 lines
6.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/alarmRoot"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/bg_alarm_gradient"
|
|
android:clipChildren="false"
|
|
android:clipToPadding="false">
|
|
|
|
<!-- Top Shift / Alarm Label Pill Badge -->
|
|
<LinearLayout
|
|
android:id="@+id/shiftBadgeContainer"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center"
|
|
android:background="@drawable/bg_snooze_hub_samsung"
|
|
android:paddingHorizontal="16dp"
|
|
android:paddingVertical="6dp"
|
|
android:layout_marginTop="64dp"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent">
|
|
|
|
<ImageView
|
|
android:layout_width="16dp"
|
|
android:layout_height="16dp"
|
|
android:src="@drawable/ic_alarm"
|
|
app:tint="#FFFFFF"
|
|
android:layout_marginEnd="6dp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/tvShiftType"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="[주간] 07:00 근무 알람"
|
|
android:textSize="14sp"
|
|
android:textStyle="bold"
|
|
android:textColor="#FFFFFF" />
|
|
</LinearLayout>
|
|
|
|
<!-- Large Time Display (Samsung One UI Clock Typography) -->
|
|
<TextView
|
|
android:id="@+id/tvCurrentTime"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="07:00"
|
|
android:textSize="80sp"
|
|
android:fontFamily="sans-serif-light"
|
|
android:textColor="#FFFFFF"
|
|
android:letterSpacing="0.01"
|
|
android:layout_marginTop="20dp"
|
|
app:layout_constraintTop_toBottomOf="@id/shiftBadgeContainer"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
<!-- Date & Day Display -->
|
|
<TextView
|
|
android:id="@+id/tvDate"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="2월 14일 토요일"
|
|
android:textSize="20sp"
|
|
android:textColor="#CCFFFFFF"
|
|
android:layout_marginTop="6dp"
|
|
app:layout_constraintTop_toBottomOf="@id/tvCurrentTime"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
<!-- Middle: Snooze Hub / Capsule Button (Samsung One UI 8.5/9.0 Style) -->
|
|
<LinearLayout
|
|
android:id="@+id/btnSnooze"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center"
|
|
android:background="@drawable/bg_snooze_hub_samsung"
|
|
android:paddingHorizontal="36dp"
|
|
android:paddingVertical="16dp"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:layout_marginBottom="40dp"
|
|
app:layout_constraintBottom_toTopOf="@id/dismissContainer"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent">
|
|
|
|
<ImageView
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:src="@drawable/ic_bell"
|
|
app:tint="#FFFFFF"
|
|
android:layout_marginEnd="10dp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/tvSnoozeText"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="다시 울림 (5분)"
|
|
android:textSize="18sp"
|
|
android:textStyle="bold"
|
|
android:textColor="#FFFFFF" />
|
|
</LinearLayout>
|
|
|
|
<!-- Bottom: Dismiss (해제) Control with Expanding Breathing Wave -->
|
|
<FrameLayout
|
|
android:id="@+id/dismissContainer"
|
|
android:layout_width="260dp"
|
|
android:layout_height="260dp"
|
|
android:layout_marginBottom="54dp"
|
|
android:clipChildren="false"
|
|
android:clipToPadding="false"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent">
|
|
|
|
<!-- Outer Glowing Pulse Wave -->
|
|
<View
|
|
android:id="@+id/pulseCircle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center"
|
|
android:background="@drawable/bg_pulse_wave_samsung" />
|
|
|
|
<!-- Inner Ambient Ring -->
|
|
<View
|
|
android:id="@+id/ambientRing"
|
|
android:layout_width="160dp"
|
|
android:layout_height="160dp"
|
|
android:layout_gravity="center"
|
|
android:background="@drawable/bg_pulse_wave_samsung" />
|
|
|
|
<!-- Samsung Style Dismiss Button (Tap or Swipe to dismiss) -->
|
|
<LinearLayout
|
|
android:id="@+id/btnDismiss"
|
|
android:layout_width="100dp"
|
|
android:layout_height="100dp"
|
|
android:layout_gravity="center"
|
|
android:orientation="vertical"
|
|
android:gravity="center"
|
|
android:background="@drawable/bg_dismiss_samsung"
|
|
android:elevation="8dp"
|
|
android:clickable="true"
|
|
android:focusable="true">
|
|
|
|
<ImageView
|
|
android:layout_width="28dp"
|
|
android:layout_height="28dp"
|
|
android:src="@drawable/ic_delete"
|
|
app:tint="#FFFFFF" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="해제"
|
|
android:textSize="14sp"
|
|
android:textStyle="bold"
|
|
android:textColor="#FFFFFF"
|
|
android:layout_marginTop="2dp" />
|
|
</LinearLayout>
|
|
</FrameLayout>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|