RemoteViews的施用

RemoteViews的使用在前面有个帖子已经介绍过了。这里在拿出来用一下,这次用来nocation的图标RemoteViews co

RemoteViews的使用

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

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

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

?