简体   繁体   中英

How to show the Notification with no icon in status bar

I have read somewhere that we can use IMPORTANCE_UNSPECIFIED to hide the icon in status bar from notification. But it seems to not work in android 8 and above.

So I used IMPORTANCE_LOW ( as per the docs to hide the icon from status bar) but it doesn't worked for me.

But where as many apps doesn't show any icon in status bar but there notification is shown in Notification drawer.

比如这个

No Play Store icon in Status Bar状态栏中没有任何图标。

I have referred to many answers such as this but it doesn't helped me

So please help me in this.

It can be done only for Android 8+. Or you have to root your phone and change to a newer version. You can also customize your apps when their developing time. You can also edit all apps using this Application and edit these applications and remove the icons from the notification part. Also as a final way, You can edit the android configuration from the boot option.

You can put any silent notification to minimize, all you have to do is to enter settings > notification > choose your app > show notification category then enable minimize notification option

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM