Android模仿京东登录注册,Android:布局实例之模仿京东登录界面
1 <?xml version="1.0" encoding="utf-8"?>
2
3 android:layout_width="match_parent"
4 android:layout_height="match_parent"
5 android:background="#ffF6F2ED" >
6
7
9 android:layout_width="match_parent"
10 android:layout_height="45dp"
11 android:layout_alignParentTop="true"
12 android:background="@drawable/android_title_bg"
13 android:gravity="center_vertical"
14 android:orientation="horizontal" >
15
16
18 android:layout_height="wrap_content"
19 android:paddingLeft="10dp"
20 android:singleLine="true"
21 android:text="@string/login"
22 android:textColor="@android:color/white"
23 android:textSize="15sp" />
24
25
26
28 android:layout_width="match_parent"
29 android:layout_height="wrap_content"
30 android:layout_below="@+id/title" >
31
32
34 android:layout_height="wrap_content" >
35
36
38 android:layout_width="wrap_content"
39 android:layout_height="wrap_content"
40 android:layout_alignParentTop="true"
41 android:layout_centerHorizontal="true"
42 android:layout_marginTop="10dp"
43 android:minHeight="75dp"
44 android:minWidth="75dp"
45 android:padding="3dp"
46 android:src="@drawable/login_dog" />
47
48
50 android:layout_width="match_parent"
51 android:layout_height="wrap_content"
52 android:layout_below="@+id/joy"
53 android:layout_marginLeft="13dp"
54 android:layout_marginRight="13dp"
55 android:background="@drawable/login_layout_editor_bg"
56 android:orientation="vertical" >
57
58
60 android:layout_height="47dp"
61 android:focusable="true"
62 android:focusableInTouchMode="true"
63 android:gravity="center_vertical"
64 android:orientation="horizontal" >
65
66
68 android:layout_height="wrap_content"
69 android:layout_marginLeft="10dp"
70 android:text="@string/user_name"
71 android:textColor="@android:color/black"
72 android:textSize="17sp" />
73
74
76 android:layout_width="match_parent"
77 android:layout_height="wrap_content"
78 android:layout_marginRight="5dp"
79 android:background="#fffbfbfb"
80 android:singleLine="true" />
81
82
83
85 android:layout_height="1dp"
86 android:background="#ffc8c8c8" />
87
88
90 android:layout_height="47dp"
91 android:gravity="center_vertical"
92 android:orientation="horizontal" >
93
94
96 android:layout_height="wrap_content"
97 android:layout_marginLeft="10dp"
98 android:text="@string/user_password"
99 android:textColor="@android:color/black"
100 android:textSize="17sp" />
101
102
104 android:layout_width="0dp"
105 android:layout_height="wrap_content"
106 android:layout_weight="1"
107 android:background="#fffbfbfb"
108 android:inputType="textPassword"
109 android:singleLine="true" />
110
111
113 android:layout_width="55dp"
114 android:layout_height="wrap_content"
115 android:layout_marginRight="5dp"
116 android:button="@drawable/login_hide_password_selector"
117 android:clickable="true" />
118
119
120
121
123 android:layout_width="match_parent"
124 android:layout_height="42dp"
125 android:layout_below="@+id/login_edit_layout"
126 android:layout_marginLeft="13dp"
127 android:layout_marginRight="13dp"
128 android:layout_marginTop="13dp"
129 android:background="@drawable/login_layout_btn_bg"
130 android:text="@string/login"
131 android:textColor="@android:color/white"
132 android:textSize="15sp" />
133
134
136 android:layout_width="match_parent"
137 android:layout_height="20dp"
138 android:layout_below="@+id/login_btn"
139 android:layout_marginLeft="20dp"
140 android:layout_marginRight="20dp"
141 android:layout_marginTop="13dp"
142 android:gravity="center_vertical" >
143
144
146 android:layout_height="wrap_content"
147 android:layout_alignParentLeft="true"
148 android:text="@string/find_password"
149 android:textColor="#ff288dfe"
150 android:textSize="15sp" />
151
152
154 android:layout_height="wrap_content"
155 android:layout_alignParentRight="true"
156 android:text="@string/phone_register"
157 android:textColor="#ff288dfe"
158 android:textSize="15sp" />
159
160
161
163 android:layout_height="wrap_content"
164 android:layout_below="@+id/login_passfind_and_phonelogin"
165 android:layout_marginLeft="20dp"
166 android:layout_marginRight="20dp"
167 android:layout_marginTop="13dp"
168 android:gravity="center_vertical" >
169
170
172 android:layout_height="wrap_content"
173 android:layout_alignParentLeft="true"
174 android:drawableLeft="@drawable/login_icon_wx"
175 android:drawablePadding="5dp"
176 android:drawableRight="@drawable/index_icon1"
177 android:gravity="center_vertical"
178 android:text="@string/weixin_login"
179 android:textColor="#ff787878"
180 android:textSize="15sp" />
181
182
184 android:layout_height="wrap_content"
185 android:layout_alignParentRight="true"
186 android:drawableLeft="@drawable/login_icon_other"
187 android:drawablePadding="5dp"
188 android:drawableRight="@drawable/index_icon1"
189 android:gravity="center_vertical"
190 android:text="@string/other_login"
191 android:textColor="#ff787878"
192 android:textSize="15sp" />
193
194
195
196
Android模仿京东登录注册,Android:布局实例之模仿京东登录界面相关推荐
- 谷粒学院 Day12.登录页面模式、整合JWT、整合QQ邮箱、用户登录注册接口【后端】、用户登录注册【前端】
项目结构: 配置文件 application.properties配置类 spring.jackson.time-zone=GMT+8# nacos注册中心 spring.cloud.nacos.di ...
- java制作网易邮箱登录页面_Page Object实例(一) - Java + Selenium 登录163邮箱
Page Object 是什么: Page Object(selenium wiki)是Selenium2开始提供的一种代码设计模式. 其核心思想是把web页面的元素查找及操作和页面测试分离开. 这样 ...
- 登录注册php完整代码,PHP用户注册与登录完整代码分享
在前面我们讲了<PHP 用户注册与登录实例演示>.<PHP 实现用户注册功能>.<PHP实现用户登录与退出功能>经过一系列的学习,就可以轻松实现注册与登录了,下面我 ...
- php登录注册连接数据库,利用PHP连接数据库——实现用户登录注册功能以及管理员对用户注...
1.用户注册页面 页面效果: 代码如下: !DOCTYPE html html head meta charset="UTF-8" title/title script src=& ...
- Java游戏用户登录注册_java___控制台可以实现简单的登录注册的小游戏平台
话不多说直接上代码: package pt; import java.util.Scanner; public class Test { public static void main(String[ ...
- 仿京东——我的界面(登录注册,上传头像)
我的界面 布局 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:andr ...
- 安卓登录注册界面开发(附源码)
源码下载和博客访问:安卓登录注册界面开发(附源码) 前言 最近找安卓登录注册界面,找了好久也没找到比较满意的设计,最后想想其实登录和注册两个界面也不复杂,干脆花点时间自己弄. 界面预览 最后的效果如下 ...
- html5 注册协议弹出层,js制作带有遮罩弹出层实现登录注册表单特效代码分享
本文实例讲述了js制作带有遮罩弹出层实现登录注册表单代码特效代码.分享给大家供大家参考.具体如下: 运行效果图: ----------------------查 ...
- 做登录/注册页面需考虑哪些问题?
[文章摘要]现在人手一部手机的前提下,手机号登录/注册的方式无疑是最简单直接的方式.而且现在很多其他注册方式,到后面还是会引导用户去绑定手机. 这几天在做登录/注册页面.做之前看了很多其他公司的登录/ ...
最新文章
- Windows 软件管理命令行工具scoop介绍
- RepositionBars的用法和参数分析
- 【算法】《algorithm-note》算法笔记中文版正式发布!
- 粒子群算法求解旅行商问题
- matlab神经网络43个案例分析_10个经典案例,带你一起分析:高层结构设计难点...
- Codeforces Round #401 (Div. 2) D. Cloud of Hashtags
- 给3月要跳槽的前端提个醒!不了解微前端就别去面试了,不然……
- vant按需引入没样式_vue vant-ui样式出不来的问题
- java中的switch的规则_细细讲述Java技术开发的那些不为人知的规则
- 四川长虹招聘机器视觉、图像识别工程师
- 腾讯广告算法大赛官方“开挂”,为你直播赛题解析!
- [Ext JS 4] 组件之图表
- 一道贪心:加括号使算式的值最大
- paint java_java – 为什么paint()/ paintComponent()从未被调用?
- CSS day_14(6.29) Sass基本规则和语法、云服务器的购买和使用
- 一个字节等于多少位?
- word左边左对齐,右边右对齐
- 【个人随笔】留下第一个脚印
- 美丽诗文背诵-未完待续
- NCHW vs. NHWC
热门文章
- 200余行代码,让你实时从视频中隐身
- 从这个11.11开始,终结数据结构与算法的噩梦
- 死磕Java并发:深入分析CAS
- php validator,实用的PHP验证器类Validator
- 判断数字是否在区间 python实现
- cannot use throw with exceptions disabled
- `pydot` failed to call GraphViz.Please install GraphViz
- 反向传播神经网络 demo源码
- subprocess installed post-installation script returned error exit status 1
- 运维Linux redis,系统运维|如何在 CentOS 7 上安装 Redis 服务器