zoukankan      html  css  js  c++  java
  • 团队冲刺

    1.今天开始我们团队项目新闻app,我目前负责的界面的设计

    今天做了登录界面和注册界面

     <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/a1"
    android:orientation="vertical"
    android:gravity="center"
    >

    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"

    android:layout_marginBottom="10dp"/>
    <TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:textSize="50dp"
    android:textColor="@android:color/holo_orange_dark"
    android:layout_gravity="center"
    android:text="登录" />
    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical">
    <LinearLayout
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:orientation="horizontal">
    <TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:textColor="@android:color/holo_orange_dark"
    android:text="用户名:"
    android:textSize="20dp"/>

    <EditText
    android:id="@+id/name_1"
    android:layout_width="150dp"
    android:layout_height="wrap_content" />

    </LinearLayout>
    <LinearLayout
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"

    android:orientation="horizontal">
    <TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:textColor="@android:color/holo_orange_dark"
    android:text="密 码:"
    android:textSize="20dp"/>

    <EditText
    android:id="@+id/password_1"
    android:layout_width="150dp"
    android:layout_height="wrap_content" />
    </LinearLayout>
    <CheckBox
    android:id="@+id/box_1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="记住密码"
    android:textColor="@android:color/holo_orange_dark"
    ></CheckBox>
    <LinearLayout
    android:gravity="center|center_horizontal|center_vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="horizontal">
    <Button
    android:id="@+id/butt_0"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginRight="120dp"
    android:layout_marginLeft="120dp"
    android:text="登录"
    android:textColor="@color/black"

    />
    </LinearLayout>
    <LinearLayout
    android:gravity="center|center_horizontal|center_vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="horizontal">
    <Button
    android:id="@+id/butt_1"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginRight="120dp"
    android:layout_marginLeft="120dp"
    android:text="注册"
    android:textColor="@color/black"

    />
    </LinearLayout>
    </LinearLayout>
    </LinearLayout>

  • 相关阅读:
    linux 虚拟机web服务接入互联网
    golang操作数据库
    开启提示:press esc in 5 seconds to skip 如何操作
    如何将qcow2转为vhd
    统信UOS如何分卷压缩
    统信UOS欧拉版本如何制作启动盘
    UOS输错密码导致长时间锁定怎么办?
    在UOS中使用WPS编辑文件,忘记保存关闭了文件,怎么找回?
    uos server版一开始没有安装桌面,后面客户需要加装DDE桌面如何实现
    uos系统升级时,我不想升级相关软件包,应该如何去做
  • 原文地址:https://www.cnblogs.com/chenghaixiang/p/14913557.html
Copyright © 2011-2022 走看看