没有合适的资源?快使用搜索试试~ 我知道了~
Quiz-app:我决定使用意图和多个活动来实施它-每个问题类型都有一个特定的活动
共61个文件
xml:35个
png:13个
java:10个
需积分: 5 0 下载量 84 浏览量
2021-04-27
19:02:30
上传
评论
收藏 466KB ZIP 举报
温馨提示
项目3:测验应用 我决定使用意图和多个活动来实现它-每个问题类型都有一个特定的活动。 我创建了一个包含10个问题的随机数组-6个RadioGroup问题,2个EditView和2个多选项问题。 我添加了使用后退和下一步按钮在问题中前进和后退的功能。 仅当您按提交时,您的答案才算在内,但是使用一系列对象来保存用户在每个问题中所做的更改(即,他选择/激怒,他提交了答案等),您可以旋转屏幕或在问题之间移动并保存您的更改。 我为纵向和横向实现了不同的布局(xml)文件,并在开始测验之前放入了说明布局。 我添加了system.exit(0),以便退出第一个窗口或在最后一个(分数)屏幕中按Exit退出应用程序时,该应用程序将不再在后台运行。 在“分数”屏幕中,您有一个退出按钮和一个“重新开始”按钮,然后按最新按钮返回说明屏幕,并创建了一个新的随机问题列表
资源推荐
资源详情
资源评论
收起资源包目录
Quiz-app-master.zip (61个子文件)
Quiz-app-master
values
styles.xml 19KB
colors.xml 991B
strings.xml 17KB
dimens.xml 2KB
layout-land
activity_main.xml 1KB
score_layout.xml 2KB
radio_group_question.xml 3KB
edit_text_question.xml 2KB
multi_option_question.xml 4KB
mipmap-xxhdpi
ic_launcher_round.png 15KB
ic_launcher_foreground.png 36KB
README.md 2KB
layout
activity_main.xml 1KB
activity_explanations.xml 887B
score_layout.xml 2KB
radio_group_question.xml 2KB
edit_text_question.xml 1KB
multi_option_question.xml 4KB
mipmap-anydpi-v26
ic_launcher.xml 268B
ic_launcher_round.xml 268B
mipmap-xhdpi
ic_launcher_round.png 8KB
ic_launcher_foreground.png 18KB
mipmap-hdpi
ic_launcher_round.png 6KB
ic_launcher_foreground.png 11KB
drawable
submit_round_button_landscape.xml 300B
rounded_corner_pink.xml 402B
rounded_corner_op.xml 428B
round_button.xml 266B
submit_full_ring.xml 876B
topography.png 40KB
logo_landscape.jpg 38KB
rounded_corner_score.xml 414B
rounded_corner_ans.xml 422B
full_ring.xml 858B
special_button.xml 524B
submit_full_ring_landscape.xml 936B
rounded_corner_ques.xml 424B
submit_transparent_ring_landscape.xml 944B
skin1.xml 279B
submit_round_button.xml 282B
ic_launcher_background.xml 5KB
rounded_corner_blue.xml 402B
logo_portrait.jpg 39KB
submit_transparent_ring.xml 884B
transparent_ring.xml 866B
thebeatlesquiz_arraylist_layouts
ScoreActivity.java 5KB
UserChange.java 9KB
EditTextActivity.java 14KB
MultiActivity.java 21KB
RadioGroupActivity.java 18KB
Answer.java 1KB
MainActivity.java 1KB
QuizActivity.java 22KB
Question.java 5KB
ExplanationsActivity.java 906B
mipmap-mdpi
ic_launcher_round.png 3KB
ic_launcher_foreground.png 6KB
mipmap-xxxhdpi
ic_launcher_round.png 23KB
ic_launcher_foreground.png 60KB
round_icon.png 97KB
icon.png 26KB
共 61 条
- 1
资源评论
以网为生
- 粉丝: 28
- 资源: 4595
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功