Quote: 引用:可以RemoteViews remoteViews= new RemoteViews(getPackageName(), R.layout.xxx);通过xxx布局文件来设置你想要的效果,mNotification.contentView = remoteViews我把notification的icon和tickerText去掉,添加上contentview,不显示消息。
可以RemoteViews remoteViews= new RemoteViews(getPackageName(), R.layout.xxx);通过xxx布局文件来设置你想要的效果,mNotification.contentView = remoteViews