<?xml version="1.0" encoding="utf-8"?>
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="#001738">
|
<!--4. 管理员登录-->
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h65">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/h65"
|
android:background="#000614"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="@dimen/h65"
|
android:orientation="horizontal"
|
android:paddingLeft="@dimen/w40"
|
android:paddingRight="@dimen/h13">
|
|
<ImageView
|
android:layout_width="@dimen/h33"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:focusable="false"
|
android:scaleType="centerInside"
|
android:src="@drawable/logo1" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_marginLeft="@dimen/w10"
|
android:text="北京市育英中学欢迎你"
|
android:textColor="@color/white"
|
android:textSize="@dimen/sh22" />
|
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="1dp"
|
android:layout_weight="1" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="@dimen/h45"
|
android:layout_weight="1"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1" />
|
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="1px"
|
android:layout_weight="1" />
|
</LinearLayout>
|
|
|
<LinearLayout
|
android:id="@+id/ll_login1"
|
android:layout_width="wrap_content"
|
android:layout_height="match_parent">
|
|
<ImageView
|
android:id="@+id/login1"
|
android:layout_width="@dimen/w25"
|
android:layout_height="@dimen/h27"
|
android:layout_gravity="center_vertical"
|
android:layout_margin="@dimen/h10"
|
android:scaleType="centerInside"
|
android:src="@drawable/icon_login" />
|
</LinearLayout>
|
|
<TextView
|
android:id="@+id/currentTime"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:layout_marginLeft="@dimen/w10"
|
android:text="2019-4-25 14:23:45"
|
android:textColor="@color/white"
|
android:textSize="@dimen/h22" />
|
|
<Space
|
android:layout_width="@dimen/w40"
|
android:layout_height="wrap_content" />
|
</LinearLayout>
|
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_weight="1"
|
android:padding="@dimen/h20">
|
|
<ImageView
|
android:id="@+id/advertise"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:scaleType="fitXY" />
|
</RelativeLayout>
|
</LinearLayout>
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="horizontal"
|
android:visibility="gone">
|
|
<RelativeLayout
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerInParent="true"
|
android:gravity="center_horizontal"
|
android:orientation="vertical">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="密码登录"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/h25" />
|
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h20">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:text="账号:"
|
android:textColor="#D2FCFB"
|
android:textSize="@dimen/h22" />
|
|
<EditText
|
android:id="@+id/account"
|
android:layout_width="@dimen/w317"
|
android:layout_height="@dimen/h70"
|
android:layout_gravity="center"
|
android:layout_marginLeft="@dimen/w33"
|
android:background="@drawable/bg_edittext1"
|
android:paddingLeft="@dimen/w15"
|
android:paddingRight="@dimen/w15"
|
android:singleLine="true"
|
android:text="admin"
|
android:textColor="@color/colorWhite"
|
android:textColorHint="#BFBFBF"
|
android:textSize="@dimen/h22" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h20">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:text="密码:"
|
android:textColor="#D2FCFB"
|
android:textSize="@dimen/h22" />
|
|
<EditText
|
android:id="@+id/password"
|
android:layout_width="@dimen/w317"
|
android:layout_height="@dimen/h70"
|
android:layout_gravity="center"
|
android:layout_marginLeft="@dimen/w33"
|
android:background="@drawable/bg_edittext1"
|
android:inputType="textPassword"
|
android:paddingLeft="@dimen/w15"
|
android:paddingRight="@dimen/w15"
|
android:singleLine="true"
|
android:text="admin123"
|
android:textColor="@color/colorWhite"
|
android:textColorHint="#BFBFBF"
|
android:textSize="@dimen/h22" />
|
</LinearLayout>
|
|
<com.basic.security.widget.Button1
|
android:id="@+id/login"
|
android:layout_width="@dimen/w220"
|
android:layout_height="@dimen/h70"
|
android:layout_marginTop="@dimen/h20"
|
android:background="@drawable/blue_button"
|
android:text="登录"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/h25" />
|
</LinearLayout>
|
|
|
<LinearLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentBottom="true"
|
android:layout_alignParentRight="true"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:id="@+id/call"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginBottom="@dimen/h24"
|
android:layout_marginRight="@dimen/w15"
|
android:orientation="vertical"
|
android:visibility="gone">
|
|
<ImageView
|
android:layout_width="@dimen/h42"
|
android:layout_height="@dimen/h42"
|
android:layout_gravity="center_horizontal"
|
android:scaleType="fitXY"
|
android:src="@drawable/call" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h14"
|
android:text="呼叫开门"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/h19" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/face_login"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentBottom="true"
|
android:layout_alignParentRight="true"
|
android:layout_marginBottom="@dimen/h24"
|
android:layout_marginRight="@dimen/w15"
|
android:orientation="vertical">
|
|
<ImageView
|
android:layout_width="@dimen/h42"
|
android:layout_height="@dimen/h42"
|
android:layout_gravity="center_horizontal"
|
android:scaleType="fitXY"
|
android:src="@drawable/icon_face_login" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/h14"
|
android:text="人脸登录"
|
android:textColor="@color/colorWhite"
|
android:textSize="@dimen/h19" />
|
</LinearLayout>
|
</LinearLayout>
|
</RelativeLayout>
|
|
<TextView
|
android:layout_width="@dimen/h20"
|
android:layout_height="match_parent" />
|
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1" />
|
</LinearLayout>
|
</RelativeLayout>
|