167 行
6.0 KiB
XML
167 行
6.0 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<layout>
|
||
|
|
|
||
|
|
<LinearLayout 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:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical"
|
||
|
|
tools:context=".ui.SettingActivity">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="40dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="开指定柜门"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="18sp" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="68dp"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:background="@drawable/bg_button"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
app:layout_constraintTop_toTopOf="parent">
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/a11"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:hint="柜号(1.2.3)"
|
||
|
|
android:inputType="number" />
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/a12"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:hint="窗口号"
|
||
|
|
android:inputType="number" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/a13"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:background="@drawable/bg_button_red"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="开门"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:textSize="18sp" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="40dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="开指定指定范围内柜门"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="18sp" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="68dp"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:background="@drawable/bg_button"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
app:layout_constraintTop_toTopOf="parent">
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/a21"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:hint="柜号(1.2.3)"
|
||
|
|
android:inputType="number" />
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/a22"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:hint="开始窗口号"
|
||
|
|
android:inputType="number" />
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/a23"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:hint="结束窗口号"
|
||
|
|
android:inputType="number" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/a24"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:background="@drawable/bg_button_red"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="开门"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:textSize="18sp" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="40dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="一键开门"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="18sp" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="68dp"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:background="@drawable/bg_button"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
app:layout_constraintTop_toTopOf="parent">
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/a31"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:background="@drawable/bg_button_red"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="一号柜"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:textSize="18sp" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/a32"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_marginHorizontal="10dp"
|
||
|
|
android:background="@drawable/bg_button_red"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="二号柜"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:textSize="18sp" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/a33"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:background="@drawable/bg_button_red"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="三号柜"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:textSize="18sp" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</layout>
|