<?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. EF访问数据库报“ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。”错误

    我发生这个问题的原因是因为我用EF访问数据库时用的用到了两用方式,如下图 第一种方式访问时不会出现此错误,出现错误的是第二种方式,下图是dal层代码 其中红框中的代码是出现错误之后改正的代码,也就是说 ...

  2. leetcode937-java

    937. 重新排列日志文件 一个简单题让我做了将近一个小时去.. 你有一个日志数组 logs.每条日志都是以空格分隔的字串. 对于每条日志,其第一个字为字母数字标识符.然后,要么: 标识符后面的每个字 ...

  3. Springboot — 用更优雅的方式发HTTP请求(RestTemplate详解)

    RestTemplate是Spring提供的用于访问Rest服务的客户端,RestTemplate提供了多种便捷访问远程Http服务的方法,能够大大提高客户端的编写效率. 我之前的HTTP开发是用ap ...

  4. python学习之老男孩python全栈第九期_day005作业

    1,有如下变量(tu是个元组),请实现要求的功能. tu = ("alex", [11, 22, {"k1": 'v1', "k2": [& ...

  5. django-templates过滤器

    常用内置过滤器: 过滤器会更改量或便签参数的值: title过滤器: {{ django|title }} 在下列context中 {'django': 'the web framework for ...

  6. 用node.js模拟服务器和客户端

    服务器 代码 var net = require("net") var server = net.createServer(); server.listen(12306," ...

  7. javaSE中JDK提供的四种线程池

    对javaSE中JDK提供的四种线程池稍作整理   一.Executor   package java.util.concurrent; /** * @since 1.5 * @author Doug ...

  8. CADO SAP tcode - Time Sheet: Display Data

    CADO (Time Sheet: Display Data) is a standard SAP transaction code available within R/3 SAP systems ...

  9. ArcGIS三种方式打断相交线------Planarize Lines工具

    1. 只有一个layer图层时,我们只需要选择”Planarize Lines“工具即可. (1)选择工具栏”Customize“选项: (2)选择Customize工具栏中的”Toolbars“选项 ...

  10. Java中的StringTokenizer类的使用方法

    StringTokenizer是字符串分隔解析类型,属于:java.util包. 1.StringTokenizer的构造函数 StringTokenizer(String str):构造一个用来解析 ...