1. Are you ready for the Galaxy S20? Here is everything we know so far!

Can I use a different action bar icon than the launcher icon in an android app?

Discussion in 'Android Development' started by Mr Mendelli, Aug 15, 2017.

  1. Mr Mendelli

    Mr Mendelli Lurker
    Thread Starter

    I want to know if it is possible to use one icon in an apps action bar that slightly (or entierly) differs from that of the app's launcher icon. I want to do this in case the action bar color is too close to the outer most color of the app icon. In this instance, I would have the un-altered launcher icon, and another with a high-contrast outline. I know I could just use the high-contrast icon as both, but sometimes it just doesn't look right to me. I have tried changing the android:icon=@drawable... value in the manifest with no success. It appears to me that the launcher icon is teathered to the others by 'default'. If I can use a seperate action bar icon, how do I declair it? Is there a specific drawable resource directory for this icon?

    Note: Currently, the only icon I know of that affects the action bar is located in the drawable-xxhdpi-v4 directory @ 144 x 144px.

     


    buathonghadchaiyapom likes this.
  2. Best Answer:
    Post #3 by Mr Mendelli, Aug 15, 2017 (3 points)

    1. Download the Forums for Android™ app!


      Download

       
  3. Deleted User

    Deleted User Guest

    Mr Mendelli likes this.
  4. Mr Mendelli

    Mr Mendelli Lurker
    Thread Starter

Loading...
Similar Threads - different action bar
  1. ocnbrze
    Replies:
    4
    Views:
    409
  2. halfbeing
    Replies:
    2
    Views:
    505
  3. jpg001
    Replies:
    2
    Views:
    404
  4. Ruffstew
    Replies:
    2
    Views:
    398
  5. Nikhil Agrawal
    Replies:
    0
    Views:
    655
  6. ThomasGLu
    Replies:
    0
    Views:
    1,094
  7. Corvus13
    Replies:
    3
    Views:
    477
  8. Bayushi
    Replies:
    2
    Views:
    362
  9. Charles Whitnel
    Replies:
    3
    Views:
    601
  10. EvolvingBot
    Replies:
    0
    Views:
    394

Share This Page

Loading...