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)

     

  • 相关阅读:
    微信js sdk动态引用
    mysql
    github 常用
    使用Win32DiskImager后重置SD卡
    nuxt generate静态化后回退问题
    nuxt.config有关router配置
    vue本人常用插件汇总(常更新)
    Windows Server 2008 IIS 并发请求设置
    Python 高级编程 ——观察者模式
    MYSQL语句大全
  • 原文地址:https://www.cnblogs.com/marr/p/14902420.html
Copyright © 2011-2022 走看看