|
|
@@ -1,65 +1,32 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:id="@+id/main"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:orientation="vertical"
|
|
|
- tools:context=".view.activity.LoginActivity"
|
|
|
- android:background="@color/common_bg_black_30"
|
|
|
- android:gravity="center">
|
|
|
+ android:background="@mipmap/login_bg"
|
|
|
+ android:padding="@dimen/fragment_padding"
|
|
|
+ tools:context=".view.activity.LoginActivity">
|
|
|
|
|
|
- <TextView
|
|
|
- style="@style/CommonTextView"
|
|
|
- android:text="@string/login_tip"
|
|
|
- android:textColor="@color/main_color" />
|
|
|
-
|
|
|
- <EditText
|
|
|
- android:id="@+id/et_account"
|
|
|
- style="@style/CommonEditNew"
|
|
|
- android:layout_width="300dp"
|
|
|
- android:hint="@string/please_input_account" />
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="300dp"
|
|
|
- android:layout_height="wrap_content">
|
|
|
-
|
|
|
- <EditText
|
|
|
- android:id="@+id/et_password"
|
|
|
- style="@style/CommonEditNew"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:inputType="textPassword"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:hint="@string/please_input_password" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_eyes"
|
|
|
- android:layout_width="@dimen/close_eyes_width"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:adjustViewBounds="true"
|
|
|
- android:src="@drawable/pwd_toggle_bg_selector"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:layout_centerVertical="true" />
|
|
|
- </RelativeLayout>
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/rv_type"
|
|
|
+ style="@style/CommonRecyclerView"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:orientation="horizontal" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/btn_confirm"
|
|
|
- android:layout_width="@dimen/login_btn_width"
|
|
|
- android:layout_height="@dimen/login_btn_height"
|
|
|
- android:background="@drawable/login_btn_bg"
|
|
|
- android:text="@string/confirm"
|
|
|
- android:gravity="center"
|
|
|
- android:textSize="@dimen/login_btn_text_size"
|
|
|
- android:textStyle="bold"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:elevation="@dimen/common_common_btn_elevation"
|
|
|
- android:layout_marginTop="@dimen/login_btn_margin_top"
|
|
|
+ style="@style/CommonTextView"
|
|
|
+ android:layout_above="@id/rv_type"
|
|
|
android:layout_centerHorizontal="true"
|
|
|
- android:layout_alignParentBottom="true" />
|
|
|
+ android:layout_marginBottom="25dp"
|
|
|
+ android:text="@string/loto"
|
|
|
+ android:textSize="30sp" />
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_card_login"
|
|
|
+ android:id="@+id/tv_version"
|
|
|
style="@style/CommonTextView"
|
|
|
- android:text="@string/swipe_card_on_machine"/>
|
|
|
-</LinearLayout>
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_alignParentBottom="true" />
|
|
|
+</RelativeLayout>
|