Skip to content

Commit

Permalink
Update report4.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yangyangyang2017 authored May 8, 2018
1 parent 6934375 commit 4c2df60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soft1614080902221/report4.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
6.嵌套一个LinearLayout里面有两个Button,实现“确定”和“重置”<br>
7.最后一个id为goButton的按钮,准备实现跳到下一个activity<br>
8.在JAVA代码中,绑定一个监听器到“确定”按钮,当被点击时检测输入的玩家名称是否为空,如果“是”就调用id为text2的setText方法设置玩家选择的结果,如果“否”,用 Toast.makeText方法提示错误。<br>
9.绑定一个监听器到“重置”按钮,当被点击是,清空玩家输入的内容,还原默认选择。
9.绑定一个监听器到“重置”按钮,当被点击时,清空玩家输入的内容,还原默认选择。

四.实验截图
-
Expand Down

0 comments on commit 4c2df60

Please sign in to comment.