没有合适的资源?快使用搜索试试~ 我知道了~
2020年春《移动应用开发》主观题作业答案.pdf
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 15 下载量 97 浏览量
2021-10-02
10:57:35
上传
评论 1
收藏 211KB PDF 举报
温馨提示
试读
15页
2020年春《移动应用开发》主观题作业答案.pdf
资源推荐
资源详情
资源评论
1
双语(中文 +英文)登录界面
1. 系统实现的主要界面和功能实现说明
输入正确的用户名和密码后可进行登录操作, 如果登录错误次数超过 3 次则
锁定登录按钮。界面跟随系统语言进行中英文切换。
2
2. 界面设计和核心功能的主要源码
<?xml version= "1.0" encoding= "utf-8" ?>
<android.support.constraint.ConstraintLayout
xmlns: android ="http://schemas.android.com/apk/res/android"
xmlns: app="http://schemas.android.com/apk/res-auto"
android :layout_width= "match_parent"
android :layout_height= "match_parent" >
<android.support.design.widget.AppBarLayout
android :id= "@+id/abl"
android :layout_width= "match_parent"
android :layout_height= "wrap_content"
app:layout_constraintTop_toTopOf= "parent" >
<Toolbar
android :id= "@+id/toolbar"
android :layout_width= "match_parent"
android :layout_height= "wrap_content"
android :title= "@string/app_name" />
</android.support.design.widget.AppBarLayout>
<TextView
android :layout_width= "match_parent"
android :layout_height= "wrap_content"
android :layout_marginTop= "12dp"
android :gravity= "center"
android :text= "@string/login_window"
android :textColor= "#000000"
android :textSize= "24sp"
app:layout_constraintTop_toBottomOf= "@id/abl" />
<TextView
android :layout_width= "wrap_content"
android :layout_height= "50dp"
android :layout_marginStart= "24dp"
android :layout_marginTop= "80dp"
android :layout_marginEnd= "24dp"
android :gravity= "center"
android :text= "@string/username"
android :textSize= "16sp"
app:layout_constraintStart_toStartOf= "parent"
3
app:layout_constraintTop_toBottomOf= "@id/abl" />
<EditText
android :id= "@+id/et_name"
android :layout_width= "0dp"
android :layout_height= "50dp"
android :layout_marginStart= "120dp"
android :layout_marginTop= "80dp"
android :layout_marginEnd= "24dp"
app:layout_constraintEnd_toEndOf= "parent"
app:layout_constraintStart_toStartOf= "parent"
app:layout_constraintTop_toBottomOf= "@id/abl" />
<TextView
android :layout_width= "wrap_content"
android :layout_height= "50dp"
android :layout_marginStart= "24dp"
android :layout_marginTop= "24dp"
android :layout_marginEnd= "24dp"
android :gravity= "center"
android :text= "@string/password"
android :textSize= "16sp"
app:layout_constraintStart_toStartOf= "parent"
app:layout_constraintTop_toBottomOf= "@id/et_name" />
<EditText
android :id= "@+id/et_password"
android :layout_width= "0dp"
android :layout_height= "50dp"
android :layout_marginStart= "120dp"
android :layout_marginTop= "24dp"
android :layout_marginEnd= "24dp"
android :inputType= "textPassword"
app:layout_constraintEnd_toEndOf= "parent"
app:layout_constraintStart_toStartOf= "parent"
app:layout_constraintTop_toBottomOf= "@id/et_name" />
<TextView
android :id= "@+id/tv_password_error"
android :layout_width= "wrap_content"
android :layout_height= "wrap_content"
android :layout_marginTop= "12dp"
app:layout_constraintEnd_toEndOf= "parent"
app:layout_constraintStart_toStartOf= "parent"
剩余14页未读,继续阅读
资料大全
- 粉丝: 14
- 资源: 26万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页