Files
ShiftRing/app/src/main/res/layout/fragment_settings_alarm.xml

80 lines
3.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="@color/surface"
android:padding="16dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
android:paddingHorizontal="8dp"
android:layout_marginBottom="8dp">
<TextView
android:id="@+id/tvMasterStatus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="전체 알람 켜짐"
android:textSize="13sp"
android:textStyle="bold"
android:textColor="@color/primary"
android:background="@drawable/bg_glass_pill_v4"
android:backgroundTint="#F2F2F7"
android:paddingHorizontal="12dp"
android:paddingVertical="6dp"
android:clickable="true"
android:focusable="true"/>
<View
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="1"/>
</LinearLayout>
<!-- Unified Alarm List Container (Background removed as items are now individual cards) -->
<LinearLayout
android:id="@+id/alarmListContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_marginBottom="16dp"/>
<!-- Add Custom Alarm Button (Premium Solid Style) -->
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btnAddCustomAlarm"
android:layout_width="match_parent"
android:layout_height="56dp"
android:text="+ 알람 추가"
android:textColor="@color/white"
android:textSize="16sp"
android:textStyle="bold"
android:background="@drawable/bg_pill_button_primary"
android:foreground="?attr/selectableItemBackground"
android:layout_marginBottom="24dp"
android:elevation="4dp"/>
<!-- Test Action -->
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btnTestAlarm"
android:layout_width="match_parent"
android:layout_height="56dp"
android:text="🔔 알람 사운드 테스트"
android:textColor="@color/text_secondary"
android:textSize="14sp"
android:background="@drawable/bg_glass_panel_v3"
android:foreground="?attr/selectableItemBackground"
android:layout_marginBottom="40dp"/>
</LinearLayout>
</androidx.core.widget.NestedScrollView>