2016年11月9日

[转载]Android中Bitmap和Drawable

摘要: 一、相关概念 二、Bitmap 1、从资源中获取Bitmap Java代码 Resources res = getResources(); Bitmap bmp = BitmapFactory.decodeResource(res, R.drawable.icon); Java代码 Java代码 2 阅读全文

posted @ 2016-11-09 16:26 金洪光 阅读(296) 评论(0) 推荐(0) 编辑

导航