Android Question Adaptive Icon ic_launcher

Scantech

Well-Known Member
Licensed User
Longtime User
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
Upvote 0

Scantech

Well-Known Member
Licensed User
Longtime User
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

Scantech

Well-Known Member
Licensed User
Longtime User
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
    1.jpg
    400.1 KB · Views: 181
  • 2.jpg
    2.jpg
    378.4 KB · Views: 207
Last edited:
Upvote 0

Scantech

Well-Known Member
Licensed User
Longtime User
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
    1.png
    463.5 KB · Views: 214
Last edited:
Upvote 0
Top