view = new RemoteViews(this.getPackageName(), R.layout.layout_nootification);
NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(this);
mBuilder.setSmallIcon(R.mipmap.d3switch_on);
mBuilder.setTicker("");
notification = mBuilder.build();
notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
notification.flags |= Notification.FLAG_NO_CLEAR;
notification.priority = Notification.PRIORITY_MAX;
notification.bigContentView = view;
notificationManager.notify(1, notification);
锁屏状态只显示默认通知栏的高度 视图也不是自定义的 就只有设置的哪个图标
必须的下拉一下显示的这个通知栏才会正常显示
怎么设置 在锁屏状态正常显示自定义的高视图