读书人

RemoteViews的施用

发布时间: 2012-09-28 00:03:35 作者: rapoo

RemoteViews的使用

在前面有个帖子已经介绍过了。

这里在拿出来用一下,这次用来nocation的图标

RemoteViews contentView = new RemoteViews(context.getPackageName(), R.layout.custom_notification_layout); contentView.setImageViewBitmap(R.id.icon_view, myBitmapObject); notification.contentView = contentView; 

?

读书人网 >移动开发

热点推荐