美文网首页
通过tablelayout设计简单的登录界面

通过tablelayout设计简单的登录界面

作者: Bye_bee9 | 来源:发表于2018-10-26 17:26 被阅读0次

样图:


代码:

  xmlns:android="http://schemas.android.com/apk/res/android"

    xmlns:tools="http://schemas.android.com/tools"

    xmlns:app="http://schemas.android.com/apk/res-auto"

    android:layout_width="match_parent"

    android:layout_height="match_parent"

    android:gravity="center_vertical"

    android:stretchColumns="0,3"

    android:background="@mipmap/biejin"

    tools:context=".MainActivity">

          android:layout_width="wrap_content"

          android:layout_height="wrap_content"

          android:text="QiuQiu:"

          android:id="@+id/text"/>

          android:layout_width="20dp"

          android:layout_height="20dp"

          android:background="@mipmap/ic_launcher_round"

          android:layout_toRightOf="@+id/text"/>

              android:text="用户名:"

              android:textSize="30dp"

              android:id="@+id/text1"

              />

            android:layout_width="wrap_content"

            android:layout_height="wrap_content"

            android:minWidth="150dp"/>

            android:text="密码:"

            android:textSize="30dp"

            android:id="@+id/text2"

            />

            android:layout_width="wrap_content"

            android:layout_height="wrap_content"

            android:minWidth="150dp">

        android:layout_width="wrap_content"

        android:layout_height="wrap_content"

        android:layout_marginRight="100dp"

        android:layout_marginLeft="100dp"

        android:text="登陆"/>

</TableLayout>

相关文章

  • 通过tablelayout设计简单的登录界面

    样图: 代码: xmlns:android="http://schemas.android.com/apk/re...

  • 移动端UI界面设计之-注册登录

    注册登录是移动端UI界面设计中最基础的板块之一,界面看似简单,但是想设计一个让人眼前一亮的注册登录界面并非易事。今...

  • 简易登录界面2------TableLayout的应用

    全xml实现:运行环境:Android Stdio

  • pyqt5 登录界面的实现模板

    说明 本例,展示了通过登录界面打开主界面的实现方式。其中,登录的账号与密码判断都比较简单,请大家根据自己需要,自行...

  • pyqt5-登录界面的实现模板

    说明 本例,展示了通过登录界面打开主界面的实现方式。其中,登录的账号与密码判断都比较简单,请大家根据自己需要,自行...

  • 2018-05-25

    2.7 密码修改界面功能设计 上图功能描述 用户登录成功后,进入系统主界面。用户通过点击主界面上的“修改密码”菜单...

  • 密码修改界面功能设计

    2.7密码修改界面功能设计 12.7.gif 2 用户登录成功后,进入系统主界面,然后用户通过点击界面上的“修改密...

  • 2018-10-21

    一、登录界面设计 二、登录界面实现功能 三、登录界面各控件的参数设置 控件1 控件2 控件4 四、重要方法描述 角...

  • 2018-10-21

    一、登录界面设计 二、登录界面实现功能 三、登录界面各控件的参数设置 控件1 控件2 控件4 四、重要方法描述 角...

  • 商超系统登陆界面 廖世豪

    一、登录界面设计 二、登录界面实现功能 三、登录界面各控件的参数设置 控件1 控件2 控件4 四、重要方法描述 角...

网友评论

      本文标题:通过tablelayout设计简单的登录界面

      本文链接:https://www.haomeiwen.com/subject/ftjltqtx.html