444 lines
19 KiB
XML
444 lines
19 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">
|
|
|
|
<!-- Tide Section Header -->
|
|
<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"/>
|
|
|
|
<!-- Tide Card -->
|
|
<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="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:background="@drawable/bg_oneui_settings_card"
|
|
android:padding="20dp">
|
|
|
|
<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_tide"
|
|
app:tint="#0EA5E9"/>
|
|
</FrameLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="물때 정보 표시"
|
|
android:textColor="@color/text_primary"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="군산, 변산, 여수, 태안 물때 표시"
|
|
android:textSize="12sp"
|
|
android:textColor="@color/text_secondary"
|
|
android:layout_marginTop="2dp"/>
|
|
</LinearLayout>
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/switchTide"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<!-- Theme Section Header -->
|
|
<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"/>
|
|
|
|
<!-- Theme Card -->
|
|
<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="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:background="@drawable/bg_oneui_settings_card"
|
|
android:padding="20dp">
|
|
|
|
<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_palette"
|
|
app:tint="#AF52DE"/>
|
|
</FrameLayout>
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="화면 테마 설정"
|
|
android:textColor="@color/text_primary"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold"/>
|
|
|
|
<Spinner
|
|
android:id="@+id/themeSpinner"
|
|
android:layout_width="140dp"
|
|
android:layout_height="40dp"
|
|
android:background="@drawable/bg_spinner_oneui"
|
|
android:popupBackground="@drawable/bg_spinner_popup_oneui"
|
|
android:dropDownVerticalOffset="6dp"
|
|
android:paddingStart="12dp"/>
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<!-- Backup/Restore Section Header -->
|
|
<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"/>
|
|
|
|
<!-- Backup/Restore Card -->
|
|
<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">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/btnBackup"
|
|
android:layout_width="0dp"
|
|
android:layout_height="48dp"
|
|
android:layout_weight="1"
|
|
android:text="백업하기"
|
|
android:textColor="@color/primary"
|
|
android:textStyle="bold"
|
|
android:textSize="15sp"
|
|
android:background="@drawable/bg_glass_button_light"
|
|
android:layout_marginEnd="6dp"/>
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/btnRestore"
|
|
android:layout_width="0dp"
|
|
android:layout_height="48dp"
|
|
android:layout_weight="1"
|
|
android:text="복구하기"
|
|
android:textColor="@color/primary"
|
|
android:textStyle="bold"
|
|
android:textSize="15sp"
|
|
android:background="@drawable/bg_glass_button_light"
|
|
android:layout_marginStart="6dp"/>
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="근무 변경 내역, 메모, 환경 설정이 안전하게 파일로 저장됩니다."
|
|
android:textSize="11sp"
|
|
android:textColor="@color/text_tertiary"
|
|
android:layout_marginTop="10dp"/>
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<!-- Info & Support Section Header -->
|
|
<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:paddingVertical="8dp">
|
|
|
|
<!-- Manual -->
|
|
<LinearLayout
|
|
android:id="@+id/btnManual"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingHorizontal="20dp"
|
|
android:paddingVertical="14dp"
|
|
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_memo"
|
|
app:tint="#0284C7"/>
|
|
</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>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0.5dp"
|
|
android:background="@color/divider_subtle"
|
|
android:layout_marginStart="72dp"
|
|
android:layout_marginEnd="20dp"/>
|
|
|
|
<!-- Notice -->
|
|
<LinearLayout
|
|
android:id="@+id/btnNotice"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingHorizontal="20dp"
|
|
android:paddingVertical="14dp"
|
|
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="#FF9500"/>
|
|
</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>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0.5dp"
|
|
android:background="@color/divider_subtle"
|
|
android:layout_marginStart="72dp"
|
|
android:layout_marginEnd="20dp"/>
|
|
|
|
<!-- Share App -->
|
|
<LinearLayout
|
|
android:id="@+id/btnShareApp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingHorizontal="20dp"
|
|
android:paddingVertical="14dp"
|
|
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_share"
|
|
app:tint="#34C759"/>
|
|
</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>
|
|
|
|
<!-- Reset Section Header -->
|
|
<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"/>
|
|
|
|
<!-- Reset Card -->
|
|
<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="40dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:background="@drawable/bg_oneui_settings_card"
|
|
android:padding="20dp">
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/btnResetOverrides"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:text="개별 근무/알람 설정 전체 삭제"
|
|
android:textColor="@color/shift_red"
|
|
android:textStyle="bold"
|
|
android:textSize="15sp"
|
|
android:background="@drawable/bg_glass_button_light"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="달력에서 개별적으로 바꾼 근무와 알람 시간이 모두 기본값으로 복구됩니다."
|
|
android:textSize="11sp"
|
|
android:textColor="@color/text_tertiary"
|
|
android:layout_marginTop="8dp"/>
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<!-- App Version -->
|
|
<TextView
|
|
android:id="@+id/tvAppVersion"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="버전 2.3.0"
|
|
android:textColor="@color/text_tertiary"
|
|
android:textSize="12sp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginBottom="40dp"/>
|
|
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|