scsjc Well-Known Member Licensed User Longtime User Feb 4, 2020 #1 I would like to know how to make the icon visualize with a white line, and when the app background is white it will continue to be displayed. I use this code in the notification, and I choose the icon inside the folder ... objects / res / drawable / icon.png B4X: Dim notification As Notification notification.Initialize2(notification.IMPORTANCE_LOW) notification.Icon = "icono" icono: result:
I would like to know how to make the icon visualize with a white line, and when the app background is white it will continue to be displayed. I use this code in the notification, and I choose the icon inside the folder ... objects / res / drawable / icon.png B4X: Dim notification As Notification notification.Initialize2(notification.IMPORTANCE_LOW) notification.Icon = "icono" icono: result:
scsjc Well-Known Member Licensed User Longtime User Feb 6, 2020 #21 I am convinced that it must be a problem of the Samsung, because the emulator works correctly. Can you check the apk icon in the application? wetransfer: https://we.tl/t-4KpSp534q9 Thanks Upvote 0
I am convinced that it must be a problem of the Samsung, because the emulator works correctly. Can you check the apk icon in the application? wetransfer: https://we.tl/t-4KpSp534q9 Thanks
stevel05 Expert Licensed User Longtime User Feb 6, 2020 #22 This one? On a motorola g6 play. Upvote 0
scsjc Well-Known Member Licensed User Longtime User Feb 6, 2020 #23 stevel05 said: This one? View attachment 88307 On a motorola g6 play. Click to expand... Sorry, do not think that the icon does not appear if there is no registration in the program and a service is activated. I upload a file with the icon only example to check it. Thank you so much Attachments test.zip 16 KB · Views: 217 Upvote 0
stevel05 said: This one? View attachment 88307 On a motorola g6 play. Click to expand... Sorry, do not think that the icon does not appear if there is no registration in the program and a service is activated. I upload a file with the icon only example to check it. Thank you so much
stevel05 Expert Licensed User Longtime User Feb 6, 2020 #24 OK, I get this: Edit: uploaded larger picture Upvote 0
scsjc Well-Known Member Licensed User Longtime User Feb 6, 2020 #25 stevel05 said: OK, I get this: View attachment 88312 Edit: uploaded larger picture Click to expand... If I put the icon with LargeIcon with the same icon, I don't know why I see the app icon in color, then it works well on a dark and light screen. But what I want is for the icon to be a white or black line, not the color one. B4X: nb.LargeIcon(LoadBitmapResize(File.DirAssets, "icontray.png", 256dip, 256dip, False)) Upvote 0
stevel05 said: OK, I get this: View attachment 88312 Edit: uploaded larger picture Click to expand... If I put the icon with LargeIcon with the same icon, I don't know why I see the app icon in color, then it works well on a dark and light screen. But what I want is for the icon to be a white or black line, not the color one. B4X: nb.LargeIcon(LoadBitmapResize(File.DirAssets, "icontray.png", 256dip, 256dip, False))
stevel05 Expert Licensed User Longtime User Feb 6, 2020 #26 How are you testing against a white background? Upvote 0
scsjc Well-Known Member Licensed User Longtime User Feb 6, 2020 #27 stevel05 said: How are you testing against a white background? Click to expand... with white background the icon are in colour too. Upvote 0
stevel05 said: How are you testing against a white background? Click to expand... with white background the icon are in colour too.