我怎样才能加载Android的图像? [英] How can I load an image in Android?
本文介绍了我怎样才能加载Android的图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何能在Android中加载图像?
How can I load an image in Android?
推荐答案
您需要将图像作为资源添加到项目中,然后生成一个的ImageView
使用该图像资源。退房的细节在 http://developer.android.com/guide/专题/图形/ 2D-graphics.html
You'll need to add the image as a resource to the project, and then build an ImageView
that uses that image resource. Check out the details at http://developer.android.com/guide/topics/graphics/2d-graphics.html
这篇关于我怎样才能加载Android的图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文