第一次个人作业(安卓学习记录系统)07
1.新学期目标2.打卡3.打卡24.打卡35.打卡 46.打卡57.打卡68.打卡79.打卡810.打卡911.打卡1012.结对作业(地铁查询项目)0113.结对作业(地铁项目)0214.结对作业(地铁项目)0315.结对作业(地铁项目)0416.结对作业(地铁项目)0517.结对作业(地铁项目)0618.结对作业(地铁项目)0719.结对作业(地铁项目)0820.结对作业(地铁项目)0921.结对作业(地铁项目)1022.结对作业(地铁项目)1123.结对作业(地铁项目)1224.结对作业(地铁项目)1325.结对作业(地铁项目)1426.五一冲刺(政策查询系统)127.五一冲刺(政策查询系统)228.政策查询系统(安卓)129.政策查询系统(安卓)230.政策查询系统(安卓)331.政策查询系统(安卓)432.政策查询系统(安卓)533.政策查询系统(安卓)634.政策查询系统(安卓)735.JS开发36.安卓app开发相关37.第一次个人作业(安卓学习记录系统)0138.第一次个人作业(安卓学习记录系统)0239.第一次个人作业(安卓学习记录系统)0340.第一次个人作业(安卓学习记录系统)0441.第一次个人作业(安卓学习记录系统)0542.第一次个人作业(安卓学习记录系统)06
43.第一次个人作业(安卓学习记录系统)07
44.打卡1145.打卡1246.打卡1347.打卡1448.打卡1549.打卡1650.打卡1751.打卡1852.打卡1953.打卡2054.python学习55.python学习256.python学习357.Javaweb58.打卡2159.fragment学习和使用60.mybits学习161.mybits学习262.mybits学习363.课程总结64.个人总结页面设计
登陆页面
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#66BB"
tools:context=".LoginActivity">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:minWidth="300dp"
android:layout_centerVertical="true"
android:orientation="vertical"
android:gravity="bottom">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"/>
<TextView
android:id="@+id/textview_login"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="登录"
android:textSize="25sp"
android:textStyle="bold"
android:background="@drawable/shape_rectangle_textview"/>
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"/>
</LinearLayout>
</LinearLayout>
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1">
</TextView>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="15dp"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="账号:"
android:textColor="#000000"
android:textStyle="bold"
android:textSize="15sp"
android:gravity="center"
android:background="@drawable/shape_oval_textview"/>
<EditText
android:id="@+id/editText_username"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:inputType="text"
android:maxLength="9"
android:hint="请输入用户名"
android:textColorHint="#999999"
android:background="@drawable/shape_round_rectangle"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="15dp"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="密码:"
android:textColor="#000000"
android:textStyle="bold"
android:textSize="15sp"
android:gravity="center"
android:background="@drawable/shape_oval_textview"/>
<EditText
android:id="@+id/editText_password"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:inputType="numberPassword"
android:maxLength="9"
android:hint="请输入密码"
android:textColorHint="#999999"
android:background="@drawable/shape_round_rectangle"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"/>
<CheckBox
android:id="@+id/checkbox_remember_id"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="false"
android:text="记住账号"
android:textColor="#FFC0CB"
android:textStyle="bold"
android:background="@drawable/shape_rectangle_textview"/>
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"/>
<CheckBox
android:id="@+id/checkbox_remember_password"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="false"
android:text="记住密码"
android:textColor="#FFC0CB"
android:textStyle="bold"
android:background="@drawable/shape_rectangle_textview"/>
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<Button
android:id="@+id/button_register_no"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="注册"/>
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"/>
<Button
android:id="@+id/button_login"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="登录" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</RelativeLayout>
首页
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<Button
android:id="@+id/btnGoal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="设置本周计划" />
<Button
android:id="@+id/btnRecord"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="今日学习记录" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="本周目标:" />
<TextView
android:id="@+id/tvGoal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColorHint="#999999"
android:background="@drawable/shape_round_rectangle"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="完成情况:" />
<TextView
android:id="@+id/tvRecord"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColorHint="#999999"
android:background="@drawable/shape_round_rectangle"/>
<Button
android:id="@+id/btnAnalyse"
android:layout_width="413dp"
android:layout_height="59dp"
android:text="能力达标分析:" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="能力达标分析:" />
<TextView
android:id="@+id/tvAnalyse"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColorHint="#999999"
android:background="@drawable/shape_round_rectangle"/>
</LinearLayout>
各个功能子页
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="300dp"
android:orientation="vertical">
<EditText
android:id="@+id/edAnalyse"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:hint="输入你对这周的的分析"
android:textColorHint="#999999"
android:background="@drawable/shape_round_rectangle"/>
<Button
android:id="@+id/btn_save"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="保存"/>
</LinearLayout>
<!-- activity_learning_goals.xml -->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<!-- Header Section -->
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="每周学习目标"
android:textSize="20sp"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true" android:layout_marginTop="16dp" android:layout_marginStart="16dp"
android:layout_marginEnd="16dp" android:layout_marginBottom="16dp"
android:layout_gravity="center"/>
<!-- Input Fields -->
<EditText
android:id="@+id/ed_goal"
android:layout_width="match_parent"
android:layout_height="73dp"
android:hint="Goal Description"
android:layout_margin="16dp"/>
<DatePicker
android:id="@+id/dp_date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="16dp"/>
<Button
android:id="@+id/btn_save"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="确定"
android:layout_margin="16dp"/>
</LinearLayout>
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
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="#66BB"
tools:context=".RegisterActivity">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:gravity="bottom" android:layout_centerInParent="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"/>
<TextView
android:id="@+id/textview_register"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="学生信息登记"
android:textSize="25sp"
android:textStyle="bold"
android:background="@drawable/shape_rectangle_textview"/>
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"/>
</LinearLayout>
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
</TextView>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:layout_marginBottom="7dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="学号:"
android:textColor="#000000"
android:textStyle="bold"
android:textSize="15sp"
android:gravity="center"
android:background="@drawable/shape_oval_textview"/>
<EditText
android:id="@+id/ed_studentid"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:maxLength="9"
android:hint="请输入学号"
android:textColorHint="#999999"
android:background="@drawable/shape_round_rectangle"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:layout_marginBottom="7dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="姓名:"
android:textColor="#000000"
android:textStyle="bold"
android:textSize="15sp"
android:gravity="center"
android:background="@drawable/shape_oval_textview"/>
<EditText
android:id="@+id/ed_name"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:maxLength="9"
android:inputType="numberPassword"
android:hint="请输入姓名"
android:textColorHint="#999999"
android:background="@drawable/shape_round_rectangle"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:layout_marginBottom="7dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="电话:"
android:textColor="#000000"
android:textStyle="bold"
android:textSize="15sp"
android:gravity="center"
android:background="@drawable/shape_oval_textview"/>
<EditText
android:id="@+id/ed_phonenumber"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:maxLength="9"
android:inputType="numberPassword"
android:hint="请输入电话"
android:textColorHint="#999999"
android:background="@drawable/shape_round_rectangle"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:layout_marginBottom="7dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="班级:"
android:textColor="#000000"
android:textStyle="bold"
android:textSize="15sp"
android:gravity="center"
android:background="@drawable/shape_oval_textview"/>
<EditText
android:id="@+id/ed_class"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:maxLength="9"
android:inputType="numberPassword"
android:hint="请输入班级"
android:textColorHint="#999999"
android:background="@drawable/shape_round_rectangle"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<Button
android:id="@+id/btn_sure"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="确认" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".GoalActivity">
</androidx.constraintlayout.widget.ConstraintLayout>
<!-- activity_daily_learning_record.xml -->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<!-- Header Section -->
<TextView
android:id="@+id/textViewTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_margin="16dp"
android:text="每日学习记录"
android:textSize="20sp" />
<!-- Input Fields -->
<TextView
android:id="@+id/textViewStartTime"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/textViewTitle"
android:layout_margin="16dp"
android:text="开始时间" />
<TimePicker
android:id="@+id/tp_time_start"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/textViewStartTime"
android:layout_marginTop="-15dp"
android:tag="start"
android:timePickerMode="spinner" />
<TextView
android:id="@+id/textViewEndTime"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/tp_time_start"
android:layout_margin="16dp"
android:text="结束时间" />
<TimePicker
android:id="@+id/tp_time_end"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/textViewEndTime"
android:tag="end"
android:timePickerMode="spinner" />
<EditText
android:id="@+id/editTextLearningRecord"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/tp_time_end"
android:layout_margin="16dp"
android:hint="每日学习记录" />
<!-- Functionality Options -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_below="@id/editTextLearningRecord">
<Button
android:id="@+id/buttonSaveRecord"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/editTextLearningRecord"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="16dp"
android:text="保存学习记录" />
<!-- <Button-->
<!-- android:id="@+id/butSure"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_below="@id/buttonSaveRecord"-->
<!-- android:layout_marginStart="16dp"-->
<!-- android:layout_marginTop="16dp"-->
<!-- android:layout_marginEnd="16dp"-->
<!-- android:layout_marginBottom="16dp"-->
<!-- android:text="" />-->
</LinearLayout>
</RelativeLayout>
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#66BB"
tools:context=".RegisterActivity">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:gravity="bottom">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"/>
<TextView
android:id="@+id/textview_register"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="注册"
android:textSize="25sp"
android:textStyle="bold"
android:background="@drawable/shape_rectangle_textview"/>
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"/>
</LinearLayout>
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
</TextView>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:layout_marginBottom="7dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="账号:"
android:textColor="#000000"
android:textStyle="bold"
android:textSize="15sp"
android:gravity="center"
android:background="@drawable/shape_oval_textview"/>
<EditText
android:id="@+id/editText_username"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:maxLength="9"
android:hint="请输入用户名"
android:textColorHint="#999999"
android:background="@drawable/shape_round_rectangle"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:layout_marginBottom="7dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="密码:"
android:textColor="#000000"
android:textStyle="bold"
android:textSize="15sp"
android:gravity="center"
android:background="@drawable/shape_oval_textview"/>
<EditText
android:id="@+id/editText_password"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:maxLength="9"
android:inputType="numberPassword"
android:hint="请输入密码"
android:textColorHint="#999999"
android:background="@drawable/shape_round_rectangle"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:layout_marginBottom="7dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="确认:"
android:textColor="#000000"
android:textStyle="bold"
android:textSize="15sp"
android:gravity="center"
android:background="@drawable/shape_oval_textview"/>
<EditText
android:id="@+id/editText_password_define"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:maxLength="9"
android:inputType="numberPassword"
android:hint="请输入确认密码"
android:textColorHint="#999999"
android:background="@drawable/shape_round_rectangle"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"/>
<CheckBox
android:id="@+id/checkbox_show_password"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="false"
android:text="显示密码"
android:textColor="#FFC0CB"
android:textStyle="bold"
android:background="@drawable/shape_rectangle_textview"/>
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"/>
<CheckBox
android:id="@+id/checkbox_show_password_affirm"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="false"
android:text="显示确认密码"
android:textColor="#FFC0CB"
android:textStyle="bold"
android:background="@drawable/shape_rectangle_textview"/>
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<Button
android:id="@+id/button_return_login"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="返回" />
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"/>
<Button
android:id="@+id/button_register_yes"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="确定注册"/>
</LinearLayout>
</LinearLayout>
</RelativeLayout>
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 单线程的Redis速度为什么快?
· 展开说说关于C#中ORM框架的用法!
· Pantheons:用 TypeScript 打造主流大模型对话的一站式集成库
· SQL Server 2025 AI相关能力初探
· 为什么 退出登录 或 修改密码 无法使 token 失效