• 灭霸—个人冲刺(2)


    灵魂三问:昨天做了什么?1.手机验证码发送 6h   目标任务量:100%  完成任务量:50%

                      今天要做什么?1.设置密码界面 4h  2.整体框架搭建尝试 8h

                      遇到困难没有?1.手机验证码发送申请还未通过,最晚三日申请通过,完全完成这一功能

    昨日完成内容展示:1.手机验证码发送

                                      

     1 <?xml version="1.0" encoding="utf-8"?>
     2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     3     xmlns:app="http://schemas.android.com/apk/res-auto"
     4     xmlns:tools="http://schemas.android.com/tools"
     5     android:layout_width="match_parent"
     6     android:layout_height="match_parent"
     7     tools:context=".MainActivity">
     8 
     9     <Button
    10         android:text="注册"
    11         android:layout_width="310dp"
    12         android:layout_height="45dp"
    13         android:layout_marginTop="20dp"
    14         android:id="@+id/btn_register"
    15         android:background="@color/colorPrimary"
    16         android:textColor="@color/colorAccent"
    17         android:layout_below="@+id/edit_code"
    18         android:layout_centerHorizontal="true" />
    19     <!--自定义的下划线EditText-->
    20     <EditText
    21         android:layout_width="320dp"
    22         android:layout_height="40dp"
    23         android:inputType="textPersonName"
    24         android:hint="你的手机号"
    25         android:ems="10"
    26         android:id="@+id/edit_phone"
    27         android:layout_weight="1"
    28         android:layout_marginTop="96dp"
    29         android:layout_alignParentTop="true"
    30         android:layout_alignStart="@+id/edit_code"
    31         android:layout_alignLeft="@+id/edit_code" />
    32 
    33     <EditText
    34         android:layout_width="210dp"
    35         android:layout_height="45dp"
    36         android:inputType="textPersonName"
    37         android:hint="请输入验证码"
    38         android:ems="10"
    39         android:layout_marginTop="41dp"
    40         android:id="@+id/edit_code"
    41         android:layout_below="@+id/edit_phone"
    42         android:layout_alignStart="@+id/btn_register"
    43         android:layout_alignLeft="@+id/btn_register" />
    44 
    45     <Button
    46         android:text="获取验证码"
    47         android:layout_width="100dp"
    48         android:layout_height="40dp"
    49         android:id="@+id/btn_getcord"
    50         android:background="@color/colorPrimary"
    51         android:textColor="@color/colorAccent"
    52         android:layout_alignBaseline="@+id/edit_code"
    53         android:layout_alignBottom="@+id/edit_code"
    54         android:layout_alignEnd="@+id/edit_phone"
    55         android:layout_alignRight="@+id/edit_phone" />
    56 
    57 </RelativeLayout>

                                   

     

  • 相关阅读:
    Spring MVC 体系结构和处理请求控制器
    Spring配置补充
    MyBatis与Spring的整合
    Ioc和AOP使用扩展
    JS 节流
    JS写返回上一级
    iframe父页面获取子页面的高度
    博客编写计划
    正则表达式
    实用 SQL 命令
  • 原文地址:https://www.cnblogs.com/quxiangjia/p/10760273.html
Copyright © 2020-2023  润新知