会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
ihou
ihou is hero of universe
博客园
首页
新随笔
联系
管理
2011年7月28日
Drawable与Bitmap的相互转换
摘要: 二者相互转化的代码十分简单,如下: //Drawable--->Bitmappublic static Bitmap drawableToBitmap(Drawable drawable) { return ((BitmapDrawable)drawable).getBitmap();}//Bitmap--->Drawablepublic static Drawable bitmapToDrawa...
阅读全文
posted @ 2011-07-28 14:06 ihou
阅读(375)
评论(0)
推荐(0)
编辑
公告