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>

  • 相关阅读:
    GJM : Unity的profiler性能分析【转载】
    GJM :Unity UI 之 UGUI 开发
    GJM:笔记记录
    GJM : UGUI 缩放循环拖动展示卡牌效果
    GJM :HTC Vive VRTK.Package 踩坑之路(一)
    GJM :Mono 介绍
    GJM :Unity3D 介绍
    GJM : C# 介绍
    GJM : 通用类型系统(Common Type System CTS)
    GJM :SQL Server中常用的SQL语句
  • 原文地址:https://www.cnblogs.com/chenghaixiang/p/14913557.html
Copyright © 2011-2022 走看看