Files
SecurityDefenseDevice/app/src/main/res/layout/dialog_auto_mode_notice.xml
2026-05-09 15:21:25 +08:00

69 lines
2.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/round_bg"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="56dp"
android:background="@color/white"
android:gravity="center"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/auto_mode_notice"
android:textColor="@color/black"
android:textSize="16sp"
android:textStyle="bold" />
</LinearLayout>
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxHeight="400dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:orientation="vertical"
android:paddingHorizontal="16dp"
android:paddingVertical="16dp">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/auto_mode_notice_content"
android:textColor="@color/black"
android:textSize="14sp"
android:lineSpacingExtra="4dp" />
</LinearLayout>
</ScrollView>
<View
android:layout_width="match_parent"
android:layout_height="10dp"
android:background="@color/face" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:padding="16dp">
<android.widget.Button
android:layout_marginBottom="4dp"
android:id="@+id/btnConfirm"
android:layout_width="match_parent"
android:layout_height="40dp"
android:background="@drawable/rounded_blue_bg"
android:text="@string/know_and_agree"
android:textColor="@color/white"
android:textSize="16sp" />
</LinearLayout>
</LinearLayout>