|
|
@@ -1,23 +1,25 @@
|
|
|
<!--登录界面-->
|
|
|
-<ScrollView
|
|
|
- xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="#EBE9E9"
|
|
|
android:fillViewport="true">
|
|
|
-
|
|
|
+
|
|
|
<RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- >
|
|
|
+ android:focusable="true"
|
|
|
+ android:focusableInTouchMode="true">
|
|
|
+
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
android:id="@+id/iv_head"
|
|
|
android:layout_width="80dp"
|
|
|
- android:layout_height="80dp"
|
|
|
+ android:layout_height="80dp"
|
|
|
android:layout_centerHorizontal="true"
|
|
|
- android:layout_marginTop="50dp"
|
|
|
android:layout_marginBottom="20dp"
|
|
|
- android:src="@drawable/login_header"/>
|
|
|
+ android:layout_marginTop="50dp"
|
|
|
+ android:src="@drawable/login_header" />
|
|
|
+
|
|
|
<LinearLayout
|
|
|
android:id="@+id/ll_content"
|
|
|
android:layout_width="match_parent"
|
|
|
@@ -25,53 +27,59 @@
|
|
|
android:layout_below="@+id/iv_head"
|
|
|
android:layout_marginBottom="10dp"
|
|
|
android:orientation="vertical">
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:background="@color/white"
|
|
|
- android:orientation="horizontal">
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:gravity="center"
|
|
|
- android:paddingLeft="10dp"
|
|
|
- android:text="账号 |"/>
|
|
|
- <!-- android:drawableLeft="@drawable/login_user_name"-->
|
|
|
- <com.xzjmyk.pm.activity.view.ClearEditText
|
|
|
- android:id="@+id/phone_numer_edit"
|
|
|
- style="@style/IMLineEditText"
|
|
|
- android:paddingTop="0dp"
|
|
|
- android:paddingBottom="0dp"
|
|
|
- android:background="@color/white"
|
|
|
-
|
|
|
- android:hint="@string/please_input_phone_number"
|
|
|
- android:inputType="phone" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingLeft="10dp"
|
|
|
+ android:text="账号 |" />
|
|
|
+ <!-- android:drawableLeft="@drawable/login_user_name"-->
|
|
|
+ <com.xzjmyk.pm.activity.view.ClearEditText
|
|
|
+ android:id="@+id/phone_numer_edit"
|
|
|
+ style="@style/IMLineEditText"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:hint="@string/please_input_phone_number"
|
|
|
+ android:inputType="phone"
|
|
|
+
|
|
|
+ android:paddingBottom="0dp"
|
|
|
+ android:paddingTop="0dp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
|
|
|
<View
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="1dp" />
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:background="@color/white"
|
|
|
- android:orientation="horizontal">
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:gravity="center"
|
|
|
- android:paddingLeft="10dp"
|
|
|
- android:text="密码 |"/>
|
|
|
- <!-- android:drawableLeft="@drawable/loginpw"-->
|
|
|
- <com.xzjmyk.pm.activity.view.ClearEditText
|
|
|
- android:id="@+id/password_edit"
|
|
|
- style="@style/IMLineEditPass"
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:background="@color/white"
|
|
|
-
|
|
|
- android:hint="@string/please_input_password" />
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingLeft="10dp"
|
|
|
+ android:text="密码 |" />
|
|
|
+ <!-- android:drawableLeft="@drawable/loginpw"-->
|
|
|
+ <com.xzjmyk.pm.activity.view.ClearEditText
|
|
|
+ android:id="@+id/password_edit"
|
|
|
+ style="@style/IMLineEditPass"
|
|
|
+ android:background="@color/white"
|
|
|
+
|
|
|
+ android:hint="@string/please_input_password" />
|
|
|
</LinearLayout>
|
|
|
-
|
|
|
+
|
|
|
|
|
|
<Button
|
|
|
android:id="@+id/login_btn"
|
|
|
@@ -82,30 +90,31 @@
|
|
|
android:layout_marginTop="10dp"
|
|
|
android:background="@drawable/bg_bule_btn"
|
|
|
android:text="登 录"
|
|
|
- android:textSize="@dimen/text_main"
|
|
|
- android:textColor="@color/white" />
|
|
|
-
|
|
|
-
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
+
|
|
|
+
|
|
|
</LinearLayout>
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tv_findPwd"
|
|
|
- android:layout_below="@+id/ll_content"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/ll_content"
|
|
|
android:layout_marginLeft="20dp"
|
|
|
-
|
|
|
- android:textColor="@color/titleBlue"
|
|
|
- android:text="忘记密码"/>
|
|
|
-
|
|
|
+
|
|
|
+ android:text="忘记密码"
|
|
|
+ android:textColor="@color/titleBlue" />
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tv_register"
|
|
|
- android:layout_below="@+id/ll_content"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textColor="@color/titleBlue"
|
|
|
android:layout_alignParentRight="true"
|
|
|
-
|
|
|
+ android:layout_below="@+id/ll_content"
|
|
|
android:layout_marginRight="20dp"
|
|
|
- android:text="新用户注册"/>
|
|
|
+
|
|
|
+ android:text="新用户注册"
|
|
|
+ android:textColor="@color/titleBlue" />
|
|
|
</RelativeLayout>
|
|
|
</ScrollView>
|