如题

解决方案 »

  1.   

    可以RemoteViews remoteViews= new RemoteViews(getPackageName(), R.layout.xxx);通过xxx布局文件来设置你想要的效果,mNotification.contentView = remoteViews
      

  2.   


    我把notification的icon和tickerText去掉,添加上contentview,不显示消息。
      

  3.   


    我把notification的icon和tickerText去掉,添加上contentview,不显示消息。
    icon是必须的   你什么都没有  这玩意必须有
      

  4.   

    想不拉伸  就自己定义remoteviews  确定下图片的大小 以及缩放方式什么的  很好解决的