forked from hzuapps/android-labs-2018
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bee066b
commit bde4072
Showing
1 changed file
with
16 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,34 @@ | ||
|
||
+# 第三次实验 | ||
+ | ||
|
||
+Android资源使用编程 | ||
+ | ||
|
||
+## 1.实验目标 | ||
+ | ||
|
||
+掌握在Android应用中使用图片等资源的方法。 | ||
+ | ||
|
||
+## 2.实验步骤 | ||
+ | ||
|
||
+1.在界面上显示至少一张图片(按照自己的题目添加); | ||
+ | ||
|
||
+2.提交res/drawable及图片使用的代码; | ||
+ | ||
|
||
+3.提交res/values, res/layout等其他代码; | ||
+ | ||
|
||
+3.将应用运行结果截图,放到实验报告中; | ||
+ | ||
|
||
+4.点击图片(或按钮)时,打开另一个Activity。 | ||
+ | ||
|
||
+// 保存在自己的文件夹下 | ||
+## 3.实验结果 | ||
+ | ||
|
||
+![image](https://github.com/1614080902117/android-labs-2018/blob/master/Soft1614080902305/shiyan3-1.jpg) | ||
+ | ||
|
||
+![image](https://github.com/1614080902117/android-labs-2018/blob/master/Soft1614080902305/shiyan3-2.jpg) | ||
|
||
+## 4.实验体会 | ||
|
||
+本次实验使用Android Studio编写代码,通过此次实验学会了在一个Activity中创建按钮, | ||
|
||
+点击按钮可以进入另一个Activity,同时添加图片到app当中最后在运行截图。 | ||
+ | ||
|