S Scantech Well-Known Member Licensed User Longtime User Apr 19, 2019 #1 I read the tutorial but still confused about adaptive icons. What is IC_Launcher.png? Background.png is the icon shape and foreground.png is the mask? Where can i find the 108x108 mask icons?
I read the tutorial but still confused about adaptive icons. What is IC_Launcher.png? Background.png is the icon shape and foreground.png is the mask? Where can i find the 108x108 mask icons?
Erel B4X founder Staff member Licensed User Longtime User Apr 19, 2019 #2 Scantech said: What is IC_Launcher.png? Click to expand... This is the icon that will show on Android 7- devices. Scantech said: Background.png is the icon shape and foreground.png is the mask? Click to expand... Yes. See the layers section here: https://medium.com/google-design/designing-adaptive-icons-515af294c783 Upvote 0
Scantech said: What is IC_Launcher.png? Click to expand... This is the icon that will show on Android 7- devices. Scantech said: Background.png is the icon shape and foreground.png is the mask? Click to expand... Yes. See the layers section here: https://medium.com/google-design/designing-adaptive-icons-515af294c783
S Scantech Well-Known Member Licensed User Longtime User Apr 19, 2019 #3 What am i suppose to do with drawable-small, drawable-large, drawable normal and drawable folder? I do have icons in them. Should i delete them? Upvote 0
What am i suppose to do with drawable-small, drawable-large, drawable normal and drawable folder? I do have icons in them. Should i delete them?
S Scantech Well-Known Member Licensed User Longtime User Apr 19, 2019 #4 Its not working with JellyBean 4.3. See attached photo. If i use Drawable folder (icon.png) without mipmap, it displays ok. Attachments 1.jpg 400.1 KB · Views: 678 2.jpg 378.4 KB · Views: 705 Last edited: Apr 19, 2019 Upvote 0
Its not working with JellyBean 4.3. See attached photo. If i use Drawable folder (icon.png) without mipmap, it displays ok.
Erel B4X founder Staff member Licensed User Longtime User Apr 20, 2019 #5 Make sure to carefully follow the tutorial instructions. It should work on all devices. You can also run B4A-Bridge project as an example: https://www.b4x.com/android/forum/threads/b4a-bridge-source-code.8153/#content Upvote 0
Make sure to carefully follow the tutorial instructions. It should work on all devices. You can also run B4A-Bridge project as an example: https://www.b4x.com/android/forum/threads/b4a-bridge-source-code.8153/#content
S Scantech Well-Known Member Licensed User Longtime User Apr 20, 2019 #6 I compiled your B4A-Bridge and it displays ok with 4.3 Jellybean. I then took your mipmap folder and also the Drawable folder and added to my project and it fails to display the icon properly. it just shows blank white background. My manifest is same as yours and i have your mipmap and drawable folder. Why is it doing this? Update: Probably related to Emulator. I added 2 same icons and 1 of them displayed ok while other is blank white. Attachments 1.png 463.5 KB · Views: 766 Last edited: Apr 20, 2019 Upvote 0
I compiled your B4A-Bridge and it displays ok with 4.3 Jellybean. I then took your mipmap folder and also the Drawable folder and added to my project and it fails to display the icon properly. it just shows blank white background. My manifest is same as yours and i have your mipmap and drawable folder. Why is it doing this? Update: Probably related to Emulator. I added 2 same icons and 1 of them displayed ok while other is blank white.
Erel B4X founder Staff member Licensed User Longtime User Apr 22, 2019 #7 Test it with a different package name. Might be a caching issue on the emulator. Upvote 0