zoukankan      html  css  js  c++  java
  • app开发(七+每周总结)

    今日进度:今天所有的工作收尾,app已经制作完毕。

    activity_login.xml

    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        xmlns:tools="http://schemas.android.com/tools"
        android:orientation="vertical"
        android:background="#FFFeee"
        android:padding="10dp"
        tools:context=".LoginActivity">
        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="添加或注册账号"
            android:textSize="30sp"
            android:layout_gravity="center"
            android:layout_margin="20sp"
            />
        <EditText
            android:id="@+id/name_edit_text1"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:hint="姓名"
            android:layout_gravity="left"
            android:layout_margin="10sp"
            />
        <EditText
            android:id="@+id/stuid_1"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:hint="学号"
            android:layout_gravity="left"
            android:layout_margin="10sp"
            />
        <EditText
            android:id="@+id/num_1"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:hint="手机号(11位)"
            android:layout_gravity="left"
            android:layout_margin="10sp"
            />
        <EditText
            android:id="@+id/stuclass_1"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:hint="所在班级"
            android:layout_gravity="left"
            android:layout_margin="10sp"
            />
    
        <Button
            android:id="@+id/btn_zhuce"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="注册"
            android:layout_margin="10sp"
            android:background="#ffe4e6"/>
        <Button
            android:id="@+id/btn_back"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="返回主页面"
            android:layout_margin="10sp"
            android:background="#ffe4e6"/>
    </LinearLayout>

    最终:(详见github)

     

  • 相关阅读:
    C标准库函数实现
    每天一句话
    移植数码相框到arm开发板上
    数据管理
    perl 分割文件路径和文件名
    恶补英语 拿 The C programming language 练功
    英语学习 chapter1
    uboot 烧写过程
    MVC,去掉字符串中的html代码
    排序之希尔排序
  • 原文地址:https://www.cnblogs.com/marr/p/14902420.html
Copyright © 2011-2022 走看看