506 lines
23 KiB
XML
506 lines
23 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:background="@android:color/transparent"
|
|
android:overScrollMode="never">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:padding="20dp">
|
|
|
|
<!-- Company & Team Section -->
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="소속 및 반 설정"
|
|
android:textColor="@color/section_title"
|
|
android:textSize="13sp"
|
|
android:textStyle="bold"
|
|
android:layout_marginBottom="8dp"
|
|
android:layout_marginStart="12dp"/>
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:cardCornerRadius="24dp"
|
|
app:cardElevation="0dp"
|
|
app:cardBackgroundColor="@android:color/transparent"
|
|
android:layout_marginBottom="24dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:background="@drawable/bg_oneui_settings_card"
|
|
android:padding="20dp">
|
|
|
|
<!-- Factory Row -->
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:layout_marginBottom="16dp">
|
|
|
|
<FrameLayout
|
|
android:layout_width="36dp"
|
|
android:layout_height="36dp"
|
|
android:background="@drawable/bg_oneui_icon_container"
|
|
android:layout_marginEnd="16dp">
|
|
<ImageView
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/ic_settings"
|
|
app:tint="@color/primary"/>
|
|
</FrameLayout>
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
android:text="근무 회사"
|
|
android:textColor="@color/text_primary"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold"/>
|
|
|
|
<Spinner
|
|
android:id="@+id/factorySpinner"
|
|
android:layout_width="120dp"
|
|
android:layout_height="40dp"
|
|
android:entries="@array/factory_array"
|
|
android:background="@drawable/bg_spinner_oneui"
|
|
android:popupBackground="@drawable/bg_spinner_popup_oneui"
|
|
android:dropDownVerticalOffset="6dp"
|
|
android:paddingStart="12dp"/>
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0.5dp"
|
|
android:background="@color/divider_subtle"
|
|
android:layout_marginStart="52dp"
|
|
android:layout_marginBottom="16dp"/>
|
|
|
|
<!-- Team Row -->
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical">
|
|
|
|
<FrameLayout
|
|
android:layout_width="36dp"
|
|
android:layout_height="36dp"
|
|
android:background="@drawable/bg_oneui_icon_container"
|
|
android:layout_marginEnd="16dp">
|
|
<ImageView
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/ic_check"
|
|
app:tint="@color/primary"/>
|
|
</FrameLayout>
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
android:text="나의 근무 반"
|
|
android:textColor="@color/text_primary"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold"/>
|
|
|
|
<Spinner
|
|
android:id="@+id/teamSpinner"
|
|
android:layout_width="120dp"
|
|
android:layout_height="40dp"
|
|
android:background="@drawable/bg_spinner_oneui"
|
|
android:popupBackground="@drawable/bg_spinner_popup_oneui"
|
|
android:dropDownVerticalOffset="6dp"
|
|
android:paddingStart="12dp"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<!-- App Stability (Permissions) -->
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="앱 안정성 설정 (필수)"
|
|
android:textColor="@color/shift_red"
|
|
android:textSize="13sp"
|
|
android:textStyle="bold"
|
|
android:layout_marginBottom="8dp"
|
|
android:layout_marginStart="12dp"/>
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:cardCornerRadius="24dp"
|
|
app:cardElevation="0dp"
|
|
app:cardBackgroundColor="@android:color/transparent"
|
|
android:layout_marginBottom="24dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:background="@drawable/bg_oneui_settings_card"
|
|
android:paddingVertical="8dp">
|
|
|
|
<!-- Battery Optimization -->
|
|
<LinearLayout
|
|
android:id="@+id/btnBatteryOptimize"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingHorizontal="20dp"
|
|
android:paddingVertical="12dp"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true">
|
|
|
|
<FrameLayout
|
|
android:layout_width="36dp"
|
|
android:layout_height="36dp"
|
|
android:background="@drawable/bg_oneui_icon_container"
|
|
android:layout_marginEnd="16dp">
|
|
<ImageView
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/ic_alarm"
|
|
app:tint="@color/shift_red"/>
|
|
</FrameLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="배터리 최적화 제외 (필수)"
|
|
android:textColor="@color/text_primary"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold"/>
|
|
<TextView
|
|
android:id="@+id/tvBatteryStatus"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="삼성/LG 폰 알람 누락 방지"
|
|
android:textColor="@color/text_secondary"
|
|
android:textSize="12sp"
|
|
android:layout_marginTop="2dp"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0.5dp"
|
|
android:background="@color/divider_subtle"
|
|
android:layout_marginStart="72dp"
|
|
android:layout_marginEnd="20dp"/>
|
|
|
|
<!-- Exact Alarm -->
|
|
<LinearLayout
|
|
android:id="@+id/btnExactAlarm"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingHorizontal="20dp"
|
|
android:paddingVertical="12dp"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true">
|
|
|
|
<FrameLayout
|
|
android:layout_width="36dp"
|
|
android:layout_height="36dp"
|
|
android:background="@drawable/bg_oneui_icon_container"
|
|
android:layout_marginEnd="16dp">
|
|
<ImageView
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/ic_alarm"
|
|
app:tint="@color/primary"/>
|
|
</FrameLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="정확한 알람 허용"
|
|
android:textColor="@color/text_primary"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold"/>
|
|
<TextView
|
|
android:id="@+id/tvExactStatus"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="정해진 시간에 정확히 알람 울림"
|
|
android:textColor="@color/text_secondary"
|
|
android:textSize="12sp"
|
|
android:layout_marginTop="2dp"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:id="@+id/dividerExact"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0.5dp"
|
|
android:background="@color/divider_subtle"
|
|
android:layout_marginStart="72dp"
|
|
android:layout_marginEnd="20dp"/>
|
|
|
|
<!-- Overlay Permission -->
|
|
<LinearLayout
|
|
android:id="@+id/btnOverlayPermission"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingHorizontal="20dp"
|
|
android:paddingVertical="12dp"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true">
|
|
|
|
<FrameLayout
|
|
android:layout_width="36dp"
|
|
android:layout_height="36dp"
|
|
android:background="@drawable/bg_oneui_icon_container"
|
|
android:layout_marginEnd="16dp">
|
|
<ImageView
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/ic_plus_circle"
|
|
app:tint="@color/primary"/>
|
|
</FrameLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="다른 앱 위에 표시"
|
|
android:textColor="@color/text_primary"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold"/>
|
|
<TextView
|
|
android:id="@+id/tvOverlayStatus"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="잠금 화면 위로 알람창 표시"
|
|
android:textColor="@color/text_secondary"
|
|
android:textSize="12sp"
|
|
android:layout_marginTop="2dp"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0.5dp"
|
|
android:background="@color/divider_subtle"
|
|
android:layout_marginStart="72dp"
|
|
android:layout_marginEnd="20dp"/>
|
|
|
|
<!-- Full Screen Intent (Android 14+) -->
|
|
<LinearLayout
|
|
android:id="@+id/btnFullScreenIntent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingHorizontal="20dp"
|
|
android:paddingVertical="12dp"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true">
|
|
|
|
<FrameLayout
|
|
android:layout_width="36dp"
|
|
android:layout_height="36dp"
|
|
android:background="@drawable/bg_oneui_icon_container"
|
|
android:layout_marginEnd="16dp">
|
|
<ImageView
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/ic_bell"
|
|
app:tint="@color/primary"/>
|
|
</FrameLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="전체화면 알림 허용"
|
|
android:textColor="@color/text_primary"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold"/>
|
|
<TextView
|
|
android:id="@+id/tvFullScreenStatus"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="안드로이드 14 이상 잠금화면 필수 권한"
|
|
android:textColor="@color/text_secondary"
|
|
android:textSize="12sp"
|
|
android:layout_marginTop="2dp"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0.5dp"
|
|
android:background="@color/divider_subtle"
|
|
android:layout_marginStart="72dp"
|
|
android:layout_marginEnd="20dp"/>
|
|
|
|
<!-- System Details Launcher -->
|
|
<LinearLayout
|
|
android:id="@+id/btnPermissionSettings"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingHorizontal="20dp"
|
|
android:paddingVertical="12dp"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true">
|
|
|
|
<FrameLayout
|
|
android:layout_width="36dp"
|
|
android:layout_height="36dp"
|
|
android:background="@drawable/bg_oneui_icon_container"
|
|
android:layout_marginEnd="16dp">
|
|
<ImageView
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/ic_settings"
|
|
app:tint="@color/text_tertiary"/>
|
|
</FrameLayout>
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
android:text="시스템 전체 권한 설정"
|
|
android:textColor="@color/text_primary"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold"/>
|
|
|
|
<ImageView
|
|
android:layout_width="16dp"
|
|
android:layout_height="16dp"
|
|
android:src="@drawable/ic_chevron_right"
|
|
app:tint="@color/text_tertiary"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<!-- Info & Support -->
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="앱 정보"
|
|
android:textColor="@color/text_secondary"
|
|
android:textSize="13sp"
|
|
android:textStyle="bold"
|
|
android:layout_marginBottom="8dp"
|
|
android:layout_marginStart="12dp"/>
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:cardCornerRadius="24dp"
|
|
app:cardElevation="0dp"
|
|
app:cardBackgroundColor="@android:color/transparent"
|
|
android:layout_marginBottom="24dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:background="@drawable/bg_oneui_settings_card"
|
|
android:paddingVertical="8dp">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/btnCheckUpdate"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingHorizontal="20dp"
|
|
android:paddingVertical="16dp"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:focusable="true">
|
|
|
|
<FrameLayout
|
|
android:layout_width="36dp"
|
|
android:layout_height="36dp"
|
|
android:background="@drawable/bg_oneui_icon_container"
|
|
android:layout_marginEnd="16dp">
|
|
<ImageView
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/ic_bell"
|
|
app:tint="@color/primary"/>
|
|
</FrameLayout>
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
android:text="최신 버전 확인"
|
|
android:textColor="@color/primary"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold"/>
|
|
|
|
<ImageView
|
|
android:layout_width="16dp"
|
|
android:layout_height="16dp"
|
|
android:src="@drawable/ic_chevron_right"
|
|
app:tint="@color/primary"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<TextView
|
|
android:id="@+id/versionInfo"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="Ver. 1.0.0"
|
|
android:gravity="center"
|
|
android:textColor="@color/text_tertiary"
|
|
android:textSize="12sp"
|
|
android:layout_marginBottom="40dp"/>
|
|
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|