<?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 登录效果的更多相关文章

  1. Android Material Design控件学习(三)——使用TextInputLayout实现酷市场登录效果

    前言 前两次,我们学习了 Android Material Design控件学习(一)--TabLayout的用法 Android Material Design控件学习(二)--Navigation ...

  2. android采用MVP完整漫画APP、钉钉地图效果、功能完善的音乐播放器、仿QQ动态登录效果、触手app主页等源码

    Android精选源码 一个可以上拉下滑的Ui效果,觉得好看可以学学 APP登陆页面适配 一款采用MVP的的完整漫画APP源码 android实现钉钉地图效果源码 一个使用单个文字生成壁纸图片的app ...

  3. Android动画效果之自定义ViewGroup添加布局动画

    前言: 前面几篇文章介绍了补间动画.逐帧动画.属性动画,大部分都是针对View来实现的动画,那么该如何为了一个ViewGroup添加动画呢?今天结合自定义ViewGroup来学习一下布局动画.本文将通 ...

  4. Android动画效果之Property Animation进阶(属性动画)

    前言: 前面初步认识了Android的Property Animation(属性动画)Android动画效果之初识Property Animation(属性动画)(三),并且利用属性动画简单了补间动画 ...

  5. Android动画效果之初识Property Animation(属性动画)

    前言: 前面两篇介绍了Android的Tween Animation(补间动画) Android动画效果之Tween Animation(补间动画).Frame Animation(逐帧动画)Andr ...

  6. Android动画效果之Frame Animation(逐帧动画)

    前言: 上一篇介绍了Android的Tween Animation(补间动画) Android动画效果之Tween Animation(补间动画),今天来总结下Android的另外一种动画Frame ...

  7. Android动画效果之Tween Animation(补间动画)

    前言: 最近公司项目下个版本迭代里面设计了很多动画效果,在以往的项目中开发中也会经常用到动画,所以在公司下个版本迭代开始之前,抽空总结一下Android动画.今天主要总结Tween Animation ...

  8. Android 抽屉效果的导航菜单实现

    Android 抽屉效果的导航菜单实现 抽屉效果的导航菜单 看了很多应用,觉得这种侧滑的抽屉效果的菜单很好. 不用切换到另一个页面,也不用去按菜单的硬件按钮,直接在界面上一个按钮点击,菜单就滑出来,而 ...

  9. Android Toast效果设置

    Android Toast效果设置 Toast是Android中用来显示显示信息的一种机制,和Dialog不一样的是,Toast是没有焦点的,而且Toast显示的时间有限,过一定的时间就会自动消失.总 ...

随机推荐

  1. $.each()和$(selector).each()

    转载:http://www.jb51.net/article/65215.htm $.each()与$(selector).each()不同, 后者专用于jquery对象的遍历, 前者可用于遍历任何的 ...

  2. 24.Linux-Nand Flash驱动(分析MTD层并制作NAND驱动)

    1.本节使用的nand flash型号为K9F2G08U0M,它的命令如下: 1.1我们以上图的read id(读ID)为例,它的时序图如下: 首先需要使能CE片选 1)使能CLE 2)发送0X90命 ...

  3. 【Tomcat】Tomcat集群session管理

    网上资料汇总: 关于 tomcat 集群中 session 共享的三种方法 Tomcat7集群共享Session 基于redis进行统一管理

  4. TCP Socket Http关系

    理解Tomcat内部处理网络数据的机制同时需要了解相关的一些术语,这样我们在阅读源码的时候能更加清楚的理解Connector下使用到的Socket通信原理. TCP/IP: 数据在网络传输是基于TCP ...

  5. 集合框架四(Map)

    Map的主要实现类: --HashMap:Map的主要实现类(掌握) --LinkedHashMap:使用链表维护添加进Map中的顺序,遍历时按添加时的顺序遍历 --TreeMap:按照添加进Map中 ...

  6. Java 取得文件名的后缀

    作者QQ:1095737364    QQ群:123300273     欢迎加入! 文件上传的时候可能需要修改文件名,因此需要取得文件的后缀: String filename="123.t ...

  7. cf896C. Willem, Chtholly and Seniorious(ODT)

    题意 题目链接 Sol ODT板子题.就是用set维护连续段的大暴力.. 然鹅我抄的板子本题RE提交AC??.. 具体来说,用50 50 658073485 946088556这个数据测试下面的代码, ...

  8. [性能调优]如何通过读PeopleSoft Trace文件来调优

    理解PeopleSoft Trace文件对于解决性能问题是绝对有必要的.你可能面临一个问题,用户抱怨性能较慢,而OEM并没有补货SQL,你有2种方法选择:使用PeopleSoft trace检查或启用 ...

  9. SD从零开始09-10

    SD从零开始9 数据流(Data Flow) 根据参考创建Create with reference 可以参考之前的凭证来创建销售凭证,可以在初始画面,也可以在凭证处理过程中,通过uniform. d ...

  10. Windows Win7建立wifi热点,手机共享WIFI上网

    Win7建立wifi热点,手机共享wifi上网 by:授客 QQ:1033553122 1.以管理员身份运行命令提示符:快捷键win+R→输入cmd→回车 2.启用并设定虚拟WiFi网卡:运行命令:n ...