|
|
@@ -0,0 +1,232 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="400dp"
|
|
|
+ android:layout_height="600dp"
|
|
|
+ android:background="@drawable/common_card_bg"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/title_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingHorizontal="10dp"
|
|
|
+ android:paddingVertical="5dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="@string/user_manage_user_detail_title"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="20sp" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/close_iv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingHorizontal="10dp"
|
|
|
+ android:src="@drawable/icon_close" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:background="@color/black" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingHorizontal="16dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/user_manage_nickname"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="18sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/nickname_tv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:background="@drawable/bg_common_input"
|
|
|
+ android:hint="@string/please_input_nickname"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:paddingHorizontal="10dp"
|
|
|
+ android:paddingVertical="2dp"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="18sp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingHorizontal="16dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/user_manage_card_code"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="18sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/cardcode_tv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:background="@drawable/bg_common_input"
|
|
|
+ android:hint="@string/please_input_card_code"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:paddingHorizontal="10dp"
|
|
|
+ android:paddingVertical="2dp"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="18sp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingHorizontal="16dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/user_manage_role"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="18sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/role_tv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:background="@drawable/bg_common_input"
|
|
|
+ android:hint="@string/please_select_role"
|
|
|
+ android:paddingHorizontal="10dp"
|
|
|
+ android:paddingVertical="2dp"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="18sp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingHorizontal="16dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/user_manage_area"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="18sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/workstation_name_tv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:background="@drawable/bg_common_input"
|
|
|
+ android:hint="@string/please_select_area"
|
|
|
+ android:paddingHorizontal="10dp"
|
|
|
+ android:paddingVertical="2dp"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="18sp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingHorizontal="16dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/user_manage_filter_status"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="18sp" />
|
|
|
+
|
|
|
+ <RadioGroup
|
|
|
+ android:id="@+id/status_rg"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/activate_rb"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:enabled="false"
|
|
|
+ android:text="@string/user_manage_filter_activate" />
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/deactivate_rb"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:enabled="false"
|
|
|
+ android:text="@string/user_manage_filter_deactivate" />
|
|
|
+ </RadioGroup>
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="right"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:padding="10dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/confirm"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:background="@drawable/common_dialog_btn"
|
|
|
+ android:paddingHorizontal="20dp"
|
|
|
+ android:text="@string/confirm"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="20sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/cancel"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:background="@drawable/common_dialog_btn"
|
|
|
+ android:paddingHorizontal="20dp"
|
|
|
+ android:text="@string/cancel"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="20sp" />
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+</layout>
|