S Scantech Well-Known Member Licensed User Longtime User Apr 30, 2019 #1 On Android 7 real Device the notification icon is blank white instead of my icon pic. Even the default icon will not show. However, it does show in lock screen at the bottom in color? I have icon in the res folder and I am using adaptive icon. What seems to be the problem? Last edited: Apr 30, 2019
On Android 7 real Device the notification icon is blank white instead of my icon pic. Even the default icon will not show. However, it does show in lock screen at the bottom in color? I have icon in the res folder and I am using adaptive icon. What seems to be the problem?
Erel B4X founder Staff member Licensed User Longtime User Apr 30, 2019 #2 android.jar / targetSdkVersion / minSdkVersion See the change in version 22. Upvote 0
S Scantech Well-Known Member Licensed User Longtime User Apr 30, 2019 #3 I tried gray scale and playing with alpha channel and even added different icon with gray scale. It still shows up in blank. Anyone have an icon i can test with my project? Upvote 0
I tried gray scale and playing with alpha channel and even added different icon with gray scale. It still shows up in blank. Anyone have an icon i can test with my project?
Erel B4X founder Staff member Licensed User Longtime User May 1, 2019 #4 Grey scaling is not related. The icon should have transparent parts. Create a new project with this code and run it (don't change or set the icon): Code: Sub Activity_Create(FirstTime As Boolean) Dim n As Notification n.Initialize n.Icon = "icon" n.SetInfo("test", "test", Me) n.Notify(1) End Sub Upvote 0
Grey scaling is not related. The icon should have transparent parts. Create a new project with this code and run it (don't change or set the icon): Code: Sub Activity_Create(FirstTime As Boolean) Dim n As Notification n.Initialize n.Icon = "icon" n.SetInfo("test", "test", Me) n.Notify(1) End Sub
S Scantech Well-Known Member Licensed User Longtime User May 1, 2019 #5 Yes it works with new project. Something weird with my project? It does not accept default icon or any. The new project did not like my icon (Blank Display). But still why wont the default icon work with my project? Upvote 0
Yes it works with new project. Something weird with my project? It does not accept default icon or any. The new project did not like my icon (Blank Display). But still why wont the default icon work with my project?
S Scantech Well-Known Member Licensed User Longtime User May 1, 2019 #6 I found the problem. I had Drawable_Large, Normal and Small Folders with icons. I removed them and default icon works! One question. Should i delete the drawable large, normal small folder since i am using Adaptive Icons? Upvote 0
I found the problem. I had Drawable_Large, Normal and Small Folders with icons. I removed them and default icon works! One question. Should i delete the drawable large, normal small folder since i am using Adaptive Icons?
Erel B4X founder Staff member Licensed User Longtime User May 1, 2019 #7 Scantech said: Should i delete the drawable large, normal small folder since i am using Adaptive Icons? Click to expand... These folders are never needed. Upvote 0
Scantech said: Should i delete the drawable large, normal small folder since i am using Adaptive Icons? Click to expand... These folders are never needed.