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
Showing
1 changed file
with
24 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# 第三次实验 | ||
|
||
## 1.实验目标 | ||
|
||
(1)在界面上显示至少一张图片(按照自己的题目添加); | ||
(2)提交res/drawable及图片使用的代码; | ||
(3)提交res/values, res/layout等其他代码; | ||
(4)将应用运行结果截图,放到实验报告中; | ||
(5)点击图片(或按钮)时,打开另一个Activity。 | ||
|
||
## 2.实验步骤 | ||
|
||
统一步骤: | ||
https://github.com/hzuapps/android-labs-2018/blob/master/labs-steps.md | ||
Android 在TextView 中显示图片的4种方式: | ||
https://blog.csdn.net/u012724237/article/details/79010741 | ||
|
||
## 3.实验结果 | ||
|
||
![image](https://github.com/Susie-Lau/android-labs-2018/blob/master/com1614080901125/%233/res/drawable/cower.png?raw=true) | ||
![image](https://github.com/Susie-Lau/android-labs-2018/blob/master/com1614080901125/%233/res/drawable/cower2.png) | ||
|
||
## 4.实验心得 | ||
此次实验虽然只是考验插入图片,但实际上在进行代码操作的时候,由于对java语言的不熟练,导致花费了很多时间去寻找和修改错误,因此,还是需要好好巩固知识。 |