Android Question Adaptive Icon ic_launcher

Discussion in 'Android Questions' started by Scantech, Apr 19, 2019.

  1. Scantech

    Scantech Well-Known Member Licensed 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?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

  3. Scantech

    Scantech Well-Known Member Licensed 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?
     
  4. Scantech

    Scantech Well-Known Member Licensed User

    Its not working with JellyBean 4.3. See attached photo.

    If i use Drawable folder (icon.png) without mipmap, it displays ok.
     

    Attached Files:

    • 1.jpg
      1.jpg
      File size:
      400.1 KB
      Views:
      32
    • 2.jpg
      2.jpg
      File size:
      378.4 KB
      Views:
      34
    Last edited: Apr 19, 2019
  5. Erel

    Erel Administrator Staff Member Licensed User

  6. Scantech

    Scantech Well-Known Member Licensed 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.
     

    Attached Files:

    • 1.png
      1.png
      File size:
      463.5 KB
      Views:
      39
    Last edited: Apr 20, 2019
  7. Erel

    Erel Administrator Staff Member Licensed User

    Test it with a different package name. Might be a caching issue on the emulator.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice