From 6c5f3267bbf0ae2bb3ee256f5f32e92c06577c59 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期二, 16 一月 2024 09:11:56 +0800
Subject: [PATCH] 定位模块
---
app/src/main/res/layout/activity_login.xml | 36 ++++++++++++++++++++++++------------
1 files changed, 24 insertions(+), 12 deletions(-)
diff --git a/app/src/main/res/layout/activity_login.xml b/app/src/main/res/layout/activity_login.xml
index 514bfbf..20d17fe 100644
--- a/app/src/main/res/layout/activity_login.xml
+++ b/app/src/main/res/layout/activity_login.xml
@@ -2,41 +2,53 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:orientation="vertical">
+ android:background="@mipmap/login_bg1"
+ android:orientation="vertical"
+ android:padding="20dp">
<EditText
android:id="@+id/name"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
+ android:layout_height="45dp"
android:layout_above="@+id/psLL"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
- android:layout_marginBottom="10dp"
- android:hint="璇疯緭鍏ヨ处鍙�" />
+ android:layout_marginBottom="20dp"
+ android:background="@drawable/ic_edt_gray_bg"
+ android:hint="璇疯緭鍏ヨ处鍙�"
+ android:paddingLeft="15dp" />
<RelativeLayout
android:id="@+id/psLL"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
+ android:layout_height="45dp"
android:layout_above="@+id/loginBtn"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
- android:layout_marginBottom="20dp"
+ android:layout_marginBottom="30dp"
+ android:background="@drawable/ic_edt_gray_bg"
+ android:gravity="center"
android:orientation="horizontal">
<EditText
android:id="@+id/password"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
+ android:layout_height="40dp"
+ android:layout_centerVertical="true"
android:layout_toLeftOf="@+id/passwordBtn"
+ android:background="@color/white"
android:hint="璇疯緭鍏ュ瘑鐮�"
- android:inputType="textPassword" />
+ android:inputType="textPassword"
+ android:paddingLeft="15dp"
+ />
- <ImageButton
+ <ImageView
android:id="@+id/passwordBtn"
android:layout_width="40dp"
- android:layout_height="40dp"
+ android:layout_height="25dp"
+ android:src="@drawable/vt_ps_close"
+ android:layout_marginRight="5dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true" />
</RelativeLayout>
@@ -48,10 +60,10 @@
android:layout_alignParentBottom="true"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
- android:layout_marginBottom="20dp"
+ android:layout_marginBottom="50dp"
android:background="@drawable/ic_blue_background"
android:gravity="center"
- android:text="鐧诲綍"
+ android:text="鐧� 褰�"
android:textColor="@color/white"
android:textSize="20sp" />
--
Gitblit v1.8.0