I am using Notification.Builder to create a notification. For this notification I am using a level-list as the small Icon
mNotificationBuilder.setSmallIcon(R.drawable.icon_levellist, levelInt);
This sets the icon to the correct level in the status bar, however when pulling down the notification the icon is set to the default level.
I have tried using a custom layout in order to display this and it works, however I would like to be able to use the default layout that comes with Notification.Builder.
Is this a bug?
我认为这是一个错误,因为我遇到了同样的问题你可以解决这个问题: http : //code.google.com/p/android/issues/detail?id = 43179&q = setSmallIcon&circpec = ID%20Type%20Status%20Owner %20Summary%20Stars
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.