|
|
|
|
|
<?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:id="@+id/tv_top"
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
|
android:layout_marginTop="30dp"
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:text="珠电e办公"
|
|
|
|
|
|
android:textSize="25sp"
|
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
|
android:id="@+id/iv_logo"
|
|
|
|
|
|
android:layout_width="130dp"
|
|
|
|
|
|
android:layout_height="130dp"
|
|
|
|
|
|
android:layout_below="@+id/tv_top"
|
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
|
android:layout_marginTop="30dp"
|
|
|
|
|
|
android:src="@drawable/logo" />
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="260dp"
|
|
|
|
|
|
android:layout_below="@id/iv_logo"
|
|
|
|
|
|
android:layout_marginLeft="40dp"
|
|
|
|
|
|
android:layout_marginTop="30dp"
|
|
|
|
|
|
android:layout_marginRight="40dp"
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
|
|
<com.rehome.zhdcoa.weiget.ClearEditText
|
|
|
|
|
|
android:id="@+id/et_username"
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="60dp"
|
|
|
|
|
|
android:background="@drawable/login_edit"
|
|
|
|
|
|
android:drawableStart="@drawable/icon_user"
|
|
|
|
|
|
android:drawablePadding="10dp"
|
|
|
|
|
|
android:hint="用户名"
|
|
|
|
|
|
android:paddingStart="15dp"
|
|
|
|
|
|
android:paddingEnd="10dp"
|
|
|
|
|
|
android:textColorHint="@color/gray" />
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="60dp"
|
|
|
|
|
|
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:drawableStart="@drawable/icon_pwd"
|
|
|
|
|
|
android:drawablePadding="10dp"
|
|
|
|
|
|
android:hint="密码"
|
|
|
|
|
|
android:inputType="textPassword"
|
|
|
|
|
|
android:paddingStart="15dp"
|
|
|
|
|
|
android:paddingEnd="10dp"
|
|
|
|
|
|
android:textColorHint="@color/gray" />
|
|
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
|
android:id="@+id/btn_login"
|
|
|
|
|
|
android:layout_width="65dp"
|
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
android:background="@drawable/btn_gray"
|
|
|
|
|
|
android:text="GO"
|
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</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="16sp" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
style="@style/serviceAgreement"
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:text="已阅读并同意" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:id="@+id/tv_service_agreement"
|
|
|
|
|
|
style="@style/serviceAgreement"
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:text="服务协议"
|
|
|
|
|
|
android:textColor="@color/colorPrimaryDark" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
style="@style/serviceAgreement"
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:text="和" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:id="@+id/tv_privacy"
|
|
|
|
|
|
style="@style/serviceAgreement"
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:text="隐私保护"
|
|
|
|
|
|
android:textColor="@color/colorPrimaryDark" />
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<Switch
|
|
|
|
|
|
android:id="@+id/sw_remember_pwd"
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="40dp"
|
|
|
|
|
|
android:checked="true"
|
|
|
|
|
|
android:shadowColor="@color/gray"
|
|
|
|
|
|
android:switchMinWidth="40dp"
|
|
|
|
|
|
android:switchPadding="10dp"
|
|
|
|
|
|
android:text="@string/remember_me"
|
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
|
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:textSize="16sp"
|
|
|
|
|
|
android:text="内网" />
|
|
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
|
android:id="@+id/rb2"
|
|
|
|
|
|
style="@style/Widget.AppCompat.CompoundButton.RadioButton"
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
|
android:checked="true"
|
|
|
|
|
|
android:text="外网" />
|
|
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
|
android:id="@+id/rb3"
|
|
|
|
|
|
style="@style/Widget.AppCompat.CompoundButton.RadioButton"
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
|
android:text="aTrust" />
|
|
|
|
|
|
|
|
|
|
|
|
</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">
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:gravity="center|end"
|
|
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:id="@+id/tv_vpn_login"
|
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
|
android:layout_marginStart="15dp"
|
|
|
|
|
|
android:layout_marginEnd="15dp"
|
|
|
|
|
|
android:gravity="center|start"
|
|
|
|
|
|
android:visibility="invisible"
|
|
|
|
|
|
android:text="aTrust登录>>"
|
|
|
|
|
|
android:textColor="@color/colorPrimaryDark"
|
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:id="@+id/tv_vpn_logout"
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:layout_marginEnd="15dp"
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:text="aTrust注销>>"
|
|
|
|
|
|
android:textColor="@color/colorPrimaryDark"
|
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:text="本平台为非涉密平台,严禁处理、传输"
|
|
|
|
|
|
android:textColor="#DAA520"
|
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:text="国家秘密、工作秘密、商业秘密、敏感信息"
|
|
|
|
|
|
android:textColor="#DAA520"
|
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
|
</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:layout_weight="1"
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:text="忘记密码"
|
|
|
|
|
|
android:textColor="@color/colorPrimaryDark"
|
|
|
|
|
|
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:text="粤ICP备2024215982号"
|
|
|
|
|
|
android:textColor="@color/colorPrimaryDark"
|
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
android:text=">"
|
|
|
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|