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>

  • 相关阅读:
    mysql的安装、启动和基础配置 —— windows版本
    Navicat安装及简单使用
    期货黄金与现货黄金比较
    android 网络编程--socket tcp/ip udp http之间的关系
    socket、tcp、udp、http 的认识及区别
    Android数据传递的五种方法汇总
    android 应用程序Activity之间数据传递与共享的几种途径
    Android数据存储的五种方法汇总
    Android终端与服务器数据传输解决方案
    转载 解决Android与服务器交互大容量数据问题
  • 原文地址:https://www.cnblogs.com/chenghaixiang/p/14913557.html
Copyright © 2011-2022 走看看