|
|
@@ -1,74 +1,50 @@
|
|
|
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:background="@drawable/login_bg"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:background="@drawable/login_bg">
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/img_h"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="180dp"
|
|
|
- android:src="@drawable/loginh" />
|
|
|
-
|
|
|
- <com.xzjmyk.pm.activity.view.ClearEditText
|
|
|
- android:id="@+id/phone_numer_edit"
|
|
|
- style="@style/IMLineEditText"
|
|
|
- android:layout_marginLeft="9dp"
|
|
|
- android:layout_marginRight="9dp"
|
|
|
- android:layout_marginTop="9dp"
|
|
|
- android:background="@color/wirtehine"
|
|
|
- android:drawableLeft="@drawable/login_user_name"
|
|
|
- android:hint="@string/please_input_phone_number"
|
|
|
- android:inputType="phone" />
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="1dp" />
|
|
|
-
|
|
|
- <com.xzjmyk.pm.activity.view.ClearEditText
|
|
|
- android:id="@+id/password_edit"
|
|
|
- style="@style/IMLineEditPass"
|
|
|
- android:layout_marginLeft="9dp"
|
|
|
- android:layout_marginRight="9dp"
|
|
|
- android:background="@color/wirtehine"
|
|
|
- android:drawableLeft="@drawable/loginpw"
|
|
|
- android:hint="@string/please_input_password" />
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/login_btn"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:layout_marginLeft="40dp"
|
|
|
- android:layout_marginRight="40dp"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:background="@drawable/bg_btn"
|
|
|
- android:text="登 录"
|
|
|
- android:textColor="@color/white" />
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="10dp">
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_marginBottom="70dp"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <com.xzjmyk.pm.activity.view.ClearEditText
|
|
|
+ android:id="@+id/phone_numer_edit"
|
|
|
+ style="@style/IMLineEditText"
|
|
|
+ android:layout_marginLeft="9dp"
|
|
|
+ android:layout_marginRight="9dp"
|
|
|
+ android:layout_marginTop="9dp"
|
|
|
+ android:background="@color/wirtehine"
|
|
|
+ android:drawableLeft="@drawable/login_user_name"
|
|
|
+ android:hint="@string/please_input_phone_number"
|
|
|
+ android:inputType="phone" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp" />
|
|
|
+
|
|
|
+ <com.xzjmyk.pm.activity.view.ClearEditText
|
|
|
+ android:id="@+id/password_edit"
|
|
|
+ style="@style/IMLineEditPass"
|
|
|
+ android:layout_marginLeft="9dp"
|
|
|
+ android:layout_marginRight="9dp"
|
|
|
+ android:background="@color/wirtehine"
|
|
|
+ android:drawableLeft="@drawable/loginpw"
|
|
|
+ android:hint="@string/please_input_password" />
|
|
|
|
|
|
<Button
|
|
|
- android:id="@+id/register_account_btn"
|
|
|
- style="@style/IMHyperText"
|
|
|
- android:layout_alignParentLeft="true"
|
|
|
- android:paddingBottom="9dp"
|
|
|
- android:paddingLeft="9dp"
|
|
|
- android:paddingRight="9dp"
|
|
|
- android:text="@string/register_account"
|
|
|
- android:visibility="gone" />
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/forget_password_btn"
|
|
|
- style="@style/IMHyperText"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:paddingBottom="9dp"
|
|
|
- android:paddingLeft="9dp"
|
|
|
- android:paddingRight="9dp"
|
|
|
- android:text="@string/forget_password"
|
|
|
- android:visibility="gone" />
|
|
|
- </RelativeLayout>
|
|
|
-
|
|
|
-</LinearLayout>
|
|
|
+ android:id="@+id/login_btn"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_marginLeft="40dp"
|
|
|
+ android:layout_marginRight="40dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:background="@drawable/bg_btn"
|
|
|
+ android:text="登 录"
|
|
|
+ android:textColor="@color/white" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+</RelativeLayout>
|