android 登录效果
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"> <ImageView
android:id="@+id/activity_login_image"
android:layout_width="match_parent"
android:layout_height="270dp"
android:layout_alignParentTop="true"
android:scaleType="centerCrop"
android:src="@drawable/login_bg"/> <LinearLayout
android:id="@+id/deleli"
android:layout_width="50dp"
android:gravity="center"
android:layout_height="40dp">
<ImageView
android:layout_width="19dp"
android:layout_height="19dp"
android:src="@drawable/login_delete"/>
</LinearLayout>
<!--<include layout="@layout/window_head"/>-->
<!--<TextView-->
<!--android:id="@+id/activity_login_qr_code"-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
<!--android:text="二维码扫描"-->
<!--android:padding="10dp"-->
<!--android:background="@drawable/selector_orange_grey"/>-->
<RelativeLayout
android:id="@+id/activity_login_head_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:visibility="gone"
android:layout_marginTop="20dp"> <TextView
android:id="@+id/activity_login_common_register2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="5dp"
android:layout_toLeftOf="@+id/activity_login_member_register"
android:background="@drawable/selector_green_green"
android:gravity="center"
android:padding="8dp"
android:text="普通注册"
android:textColor="@color/login_whiter"/> <TextView
android:id="@+id/activity_login_member_register"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_marginRight="13dp"
android:background="@drawable/selector_green_green"
android:gravity="center"
android:padding="8dp"
android:text="会员注册"
android:textColor="@color/login_whiter"/> </RelativeLayout> <LinearLayout
android:id="@+id/activity_login_layout"
android:layout_width="match_parent"
android:layout_height="92dp"
android:layout_alignParentTop="true"
android:layout_marginLeft="13dp"
android:layout_marginRight="13dp"
android:layout_marginTop="240dp"
android:background="@drawable/border_grey"
android:orientation="vertical"> <LinearLayout
android:layout_width="match_parent"
android:layout_height="46dp"
android:gravity="center_vertical"
android:orientation="horizontal"> <RelativeLayout
android:layout_width="11dp"
android:layout_height="match_parent"> <ImageView
android:layout_width="11dp"
android:layout_height="11dp"
android:src="@drawable/login_tips"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"/>
</RelativeLayout> <ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/account_icon"
/> <TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="13dp"
android:layout_marginRight="14dp"
android:text="|"/> <EditText
android:id="@+id/login_tel"
android:layout_width="230dp"
android:layout_height="46dp"
android:background="@null"
android:digits="0123456789"
android:gravity="center_vertical"
android:hint="请输入电话"
android:inputType="number"
android:maxLength="11"
android:textColor="@color/login_black"
android:textSize="16sp"
/>
</LinearLayout> <TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/grey"/> <LinearLayout
android:layout_width="match_parent"
android:layout_height="46dp"
android:gravity="center_vertical"
android:paddingLeft="11dp"
android:paddingRight="11dp"> <ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/password_icon"
/> <TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="13dp"
android:layout_marginRight="14dp"
android:text="|"/> <EditText
android:id="@+id/login_password"
android:layout_width="match_parent"
android:layout_height="46dp"
android:background="@null"
android:digits="0123456789abcdefghijgklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
android:gravity="center_vertical"
android:hint="请输入密码"
android:inputType="textVisiblePassword"
android:textColor="@color/login_black"
android:textSize="16sp"
/>
</LinearLayout> </LinearLayout> <Button
android:id="@+id/login_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/selector_green_green"
android:text="登录"
android:textColor="@color/login_whiter"
android:textSize="16sp"
android:layout_below="@+id/activity_login_layout"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:layout_marginLeft="12dp"
android:layout_marginRight="12dp"
android:layout_marginTop="16dp"/> <LinearLayout
android:layout_width="match_parent"
android:layout_height="25dp"
android:orientation="horizontal"
android:layout_marginTop="410dp"
android:weightSum="2"
android:gravity="center_vertical"
android:id="@+id/linearLayout2"> <LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="left|center"> <TextView
android:id="@+id/activity_login_common_register"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="18dp"
android:text="快速注册"
android:textColor="@color/businesstop"
android:textSize="13sp"/>
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="right|center">
<TextView
android:id="@+id/activity_login_forget_password"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/login_button"
android:text="忘记密码"
android:textColor="@color/login_grey"
android:layout_marginRight="12dp"
android:textSize="13sp"/> </LinearLayout> </LinearLayout> <LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_marginBottom="15dp"
android:orientation="vertical"> <LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:visibility="visible"
android:orientation="horizontal"> <TextView
android:layout_width="0dp"
android:layout_height="1dp"
android:layout_marginLeft="51dp"
android:layout_weight="1"
android:background="@color/login_grey_bottomtwo"/> <TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:text="第三方登录"
android:textColor="@color/login_grey_bottom"
android:textSize="12sp"/> <TextView
android:layout_width="0dp"
android:layout_height="1dp"
android:layout_marginRight="51dp"
android:layout_weight="1"
android:background="@color/login_grey_bottomtwo"/>
</LinearLayout> <RelativeLayout
android:layout_width="match_parent"
android:layout_height="30dp"
android:layout_marginTop="15dp"
android:visibility="visible"
android:gravity="center_horizontal"
android:orientation="horizontal"> <LinearLayout
android:id="@+id/activity_login_wei_xin_text_layout"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentLeft="true"
android:gravity="center"> <ImageView
android:id="@+id/activity_login_wei_xin_text"
android:layout_width="30dp"
android:layout_height="30dp"
android:scaleType="centerCrop"
android:src="@drawable/ssdk_oks_classic_wechat"/>
</LinearLayout> <LinearLayout
android:id="@+id/activity_login_qq_text_layout"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:visibility="gone"
android:layout_marginLeft="100dp"
android:gravity="center"> <ImageView
android:id="@+id/activity_login_qq_text"
android:layout_width="30dp"
android:layout_height="30dp"
android:scaleType="centerCrop"
android:src="@drawable/ssdk_oks_classic_qq"/>
</LinearLayout> </RelativeLayout> </LinearLayout> </RelativeLayout>
android 登录效果的更多相关文章
- Android Material Design控件学习(三)——使用TextInputLayout实现酷市场登录效果
前言 前两次,我们学习了 Android Material Design控件学习(一)--TabLayout的用法 Android Material Design控件学习(二)--Navigation ...
- android采用MVP完整漫画APP、钉钉地图效果、功能完善的音乐播放器、仿QQ动态登录效果、触手app主页等源码
Android精选源码 一个可以上拉下滑的Ui效果,觉得好看可以学学 APP登陆页面适配 一款采用MVP的的完整漫画APP源码 android实现钉钉地图效果源码 一个使用单个文字生成壁纸图片的app ...
- Android动画效果之自定义ViewGroup添加布局动画
前言: 前面几篇文章介绍了补间动画.逐帧动画.属性动画,大部分都是针对View来实现的动画,那么该如何为了一个ViewGroup添加动画呢?今天结合自定义ViewGroup来学习一下布局动画.本文将通 ...
- Android动画效果之Property Animation进阶(属性动画)
前言: 前面初步认识了Android的Property Animation(属性动画)Android动画效果之初识Property Animation(属性动画)(三),并且利用属性动画简单了补间动画 ...
- Android动画效果之初识Property Animation(属性动画)
前言: 前面两篇介绍了Android的Tween Animation(补间动画) Android动画效果之Tween Animation(补间动画).Frame Animation(逐帧动画)Andr ...
- Android动画效果之Frame Animation(逐帧动画)
前言: 上一篇介绍了Android的Tween Animation(补间动画) Android动画效果之Tween Animation(补间动画),今天来总结下Android的另外一种动画Frame ...
- Android动画效果之Tween Animation(补间动画)
前言: 最近公司项目下个版本迭代里面设计了很多动画效果,在以往的项目中开发中也会经常用到动画,所以在公司下个版本迭代开始之前,抽空总结一下Android动画.今天主要总结Tween Animation ...
- Android 抽屉效果的导航菜单实现
Android 抽屉效果的导航菜单实现 抽屉效果的导航菜单 看了很多应用,觉得这种侧滑的抽屉效果的菜单很好. 不用切换到另一个页面,也不用去按菜单的硬件按钮,直接在界面上一个按钮点击,菜单就滑出来,而 ...
- Android Toast效果设置
Android Toast效果设置 Toast是Android中用来显示显示信息的一种机制,和Dialog不一样的是,Toast是没有焦点的,而且Toast显示的时间有限,过一定的时间就会自动消失.总 ...
随机推荐
- Listary Pro- 文件浏览与搜索增强的超级神器
Listary 是一款 Windows 文件浏览增强工具,为 Windows 资源管理器增加智能命令.最近文档以及收藏功能.文件小,功能强大.秒杀系统自带搜索功能!! 它是一款非常优秀的 Window ...
- Spring全家桶系列–SpringBoot与Mybatis结合
//本文作者:cuifuan Mybatis 是一个持久层ORM框架,负责Java与数据库数据交互,也可以简易理解为中介,相对于它,还有个中介是hibernate,不过在mybatis中sql语句的灵 ...
- 排序算法(10)--Distribution Sorting--分布排序[2]--Radix Sort--基数排序
1.基本思想 基数排序是通过“分配”和“收集”过程来实现排序 2.实现原理 基数排序(以整形为例),将整形10进制按每位拆分,然后从低位到高位依次比较各个位.主要分为两个过程: (1)分配,先从个位开 ...
- 高性能JavaScript(编程实践)
避免双重求值JavaScript 允许你在程序中提取一个包含代码的字符串,然后动态执行,有四种方法可以实现,eval(),Function() 构造函数 settimeout 和 setinterva ...
- 如何在Oracle数据库中查看哪些用户在执行哪些SQL
对于DBA来说,这是一个非常常见的问题,DBA需要找出以下问题: 1.哪些用户在跑哪些SQL? 2.一个特定的SQL是被哪个用户在执行? 3.一个特定的用户在跑哪些SQL? 从这些问题中可以很明显的看 ...
- hihocoder [Offer收割]编程练习赛12 [1495] ---- 矩形分割
原题链接 矩形分割 算法分析: 解决该题要用到"并查集"的思想. 这里有一篇不错的博客介绍并查集: 并查集(Union-Find)算法介绍 记 int total=N*M,这里会有 ...
- GDAL打开HDF格式时遇到的中文路径问题(未解决)
众所周知,中文环境下(VS2010 C++工程编码为多字节编码),在使用1.8.0版本以后的GDAL打开中文路径下的影像文件(如GeoTiff文件)时, 需对中文文件路径做特殊处理,有2种方法:(我使 ...
- hadoop完全分布式的安装
下载地址: centos 7.5 下载地址 清华 http://mirrors.tuna.tsinghua.edu.cn/centos/7/isos/x86_64/CentOS-7-x86_64-DV ...
- openCV 扩图
1.扩图 import cv2 import numpy as np img=cv2.imread('Test2.jpg',1) width=img.shape[0] height=img.shape ...
- Express浅谈
写给鸟自己的,大家如果不慎百度到这里来了,真好也在做这块功能,不懂的可以联系鸟.微信:jkxx123321 const Sequelize = require('sequelize'); const ...