|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
android:background="@color/login_bg"
|
|
|
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
|
tools:context=".ui.activity.LoginActivity">
|
|
|
|
|
|
|
|
|
|
|
|
<include
|
|
|
|
|
|
android:id="@+id/toolbarView"
|
|
|
|
|
|
layout="@layout/layout_base"
|
|
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="100px"
|
|
|
|
|
|
android:layout_marginTop="15dp"
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:text="珠电e办公"
|
|
|
|
|
|
android:textSize="25sp"
|
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
|
android:id="@+id/iv_logo"
|
|
|
|
|
|
android:layout_width="300px"
|
|
|
|
|
|
android:layout_height="300px"
|
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
|
android:layout_marginTop="150px"
|
|
|
|
|
|
android:src="@drawable/logo" />
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="500px"
|
|
|
|
|
|
android:layout_below="@id/iv_logo"
|
|
|
|
|
|
android:layout_marginLeft="60px"
|
|
|
|
|
|
android:layout_marginTop="20px"
|
|
|
|
|
|
android:layout_marginRight="60px"
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
|
|
<com.rehome.zhdcoa.weiget.ClearEditText
|
|
|
|
|
|
android:id="@+id/et_username"
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="110px"
|
|
|
|
|
|
android:background="@drawable/login_edit"
|
|
|
|
|
|
android:drawableLeft="@drawable/icon_user"
|
|
|
|
|
|
android:drawablePadding="20px"
|
|
|
|
|
|
android:hint="用户名"
|
|
|
|
|
|
android:paddingLeft="30px"
|
|
|
|
|
|
android:paddingRight="20px"
|
|
|
|
|
|
android:textColorHint="@color/gray" />
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="110px"
|
|
|
|
|
|
android:background="@drawable/login_edit1"
|
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
|
|
<com.rehome.zhdcoa.weiget.ClearEditText
|
|
|
|
|
|
android:id="@+id/et_password"
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
|
android:background="@null"
|
|
|
|
|
|
android:drawableLeft="@drawable/icon_pwd"
|
|
|
|
|
|
android:drawablePadding="20px"
|
|
|
|
|
|
android:hint="密码"
|
|
|
|
|
|
android:inputType="textPassword"
|
|
|
|
|
|
android:paddingLeft="30px"
|
|
|
|
|
|
android:paddingRight="20px"
|
|
|
|
|
|
android:textColorHint="@color/gray" />
|
|
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
|
android:id="@+id/btn_login"
|
|
|
|
|
|
android:layout_width="130px"
|
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
android:background="@drawable/btn_gray"
|
|
|
|
|
|
android:text="GO"
|
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
|
android:textSize="35px" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
|
android:id="@+id/ll_left_right"
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
|
android:gravity="start|center">
|
|
|
|
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
|
|
android:id="@+id/cb_agreement"
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
|
android:text=""
|
|
|
|
|
|
android:textSize="35px" />
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
style="@style/serviceAgreement"
|
|
|
|
|
|
android:text="已阅读并同意"/>
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:id="@+id/tv_service_agreement"
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:textColor="@color/colorPrimaryDark"
|
|
|
|
|
|
style="@style/serviceAgreement"
|
|
|
|
|
|
android:text="服务协议"/>
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
style="@style/serviceAgreement"
|
|
|
|
|
|
android:text="和"/>
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:id="@+id/tv_privacy"
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:textColor="@color/colorPrimaryDark"
|
|
|
|
|
|
style="@style/serviceAgreement"
|
|
|
|
|
|
android:text="隐私保护"/>
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<Switch
|
|
|
|
|
|
android:id="@+id/sw_remember_pwd"
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="40dp"
|
|
|
|
|
|
android:shadowColor="@color/gray"
|
|
|
|
|
|
android:switchMinWidth="40dp"
|
|
|
|
|
|
android:switchPadding="10dp"
|
|
|
|
|
|
android:checked="true"
|
|
|
|
|
|
android:text="@string/remember_me"
|
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
|
android:thumb="@drawable/thumb"
|
|
|
|
|
|
android:track="@drawable/track"
|
|
|
|
|
|
android:visibility="visible"
|
|
|
|
|
|
tools:ignore="UseSwitchCompatOrMaterialXml" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<RadioGroup
|
|
|
|
|
|
android:id="@id/rg"
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="40dp"
|
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
|
android:id="@+id/rb1"
|
|
|
|
|
|
style="@style/Widget.AppCompat.CompoundButton.RadioButton"
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
|
|
android:text="内网" />
|
|
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
|
android:id="@+id/rb2"
|
|
|
|
|
|
style="@style/Widget.AppCompat.CompoundButton.RadioButton"
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:checked="true"
|
|
|
|
|
|
android:text="外网" />
|
|
|
|
|
|
|
|
|
|
|
|
</RadioGroup>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
|
|
android:layout_marginBottom="100dp"
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:textColor="#d9524b"
|
|
|
|
|
|
android:text="本平台为非涉密平台,严禁处理、传输"
|
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:textColor="#d9524b"
|
|
|
|
|
|
android:text="国家秘密、工作秘密、商业秘密、敏感信息"
|
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
|
<!--android:textColor="#c4df3f" android:textColor="#d9524b" -->
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
|
|
android:layout_marginBottom="60dp"
|
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:id="@+id/text_wjmm"
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:textColor="@color/colorPrimaryDark"
|
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:text="忘记密码"
|
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:id="@+id/tv_versionCode"
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
|
|
android:layout_marginBottom="40dp"
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:text="版本号:2.0.6"
|
|
|
|
|
|
android:textSize="12sp"
|
|
|
|
|
|
android:textStyle="normal" />
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:text="ICP备案号:"
|
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:id="@+id/tv_beiAn"
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:textColor="@color/colorPrimaryDark"
|
|
|
|
|
|
android:text="粤ICP备2024215982号"
|
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
|
android:text=">"
|
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|