zoukankan      html  css  js  c++  java
  • 系统登陆界面开发及实现之(四)界面登录框组件设置

    开发步骤:

    • 打开res下layout下activity_login.xml
    • 添加TableLayout一个EditText,Button组件对象各二个并设置属性

    android:password属性

    • 作用:设置密码框
    • 常量参数:true

    代码:

    <TableLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:collapseColumn="2"
        android:stretchColum="1">
        <TableRow
             android:layout_width="fill_parent"
             android:layout_height="wrap_content">
          </TableRow>
        <TableRow
             android:layout_width="fill_parent"
             android:layout_height="wrap_content">
          </TableRow>
    </TableLayout>
    <EditText
           android:id="@+id/txtAccount"
           adnroid:layout_width="fill_parent"
           android:layout_height="wrap_content"
           android:hint="请输入账号:"
           android:textSize="12sp"
           android:textColor="#FFFFFF"/>
    <Button
         android:id="@+id/btnRegister"
         android:layout_width="0dp"
         android:layout_height="wrap_content"
         android:text="立即注册"
         android:textSize="15sp"
         android:textColor="#646464"
         android:layout_weight="1"/>

    运行:

    花朵开放的时候花蕾消逝,人们会说花蕾是花朵否定了的;同样地,当结果的时刻花朵又被解释为植物的一种虚假的存在形式,而果实是作为植物的真实形式而取代花朵的。这些形式不但彼此不同,而且互相排斥,互不相容。但是,他们的流动性却使他们成为有机统一体的环节,他们在有机统一体中不但互相抵触,而且彼此都同样是必要的;而正是这种同样的必要性才构成整体的生命。
  • 相关阅读:
    Hpuoj1039--【C语言训练】角谷猜想
    hpuoj--1093: 回文数(一)
    Zoj1628--Diamond(Dfs《暴力》)
    Poj1995--Raising Modulo Numbers(快速幂)
    杭电5137--How Many Maos Does the Guanxi Worth(Spfa+暴力枚举)
    杭电1166--敌兵布阵(线段树 | 树状数组)

    南阳5--Binary String Matching(Kmp)
    CGAL
    vs c++默认路径
  • 原文地址:https://www.cnblogs.com/zulo/p/5065499.html
Copyright © 2011-2022 走看看