Android Question white icon on lollipop

Discussion in 'Android Questions' started by francobasal, Feb 19, 2015.

  1. francobasal

    francobasal New Member Licensed User

    I need to use targetSdkVersion=21 (lollipop), but when i use it, the icon on notification bar became white.

    I read why is happing, in the core of android ui:

    // android_frameworks_base/packages/SystemUI/src/com/android/systemui/
    //   statusbar/

    if (entry.targetSdk >= Build.VERSION_CODES.LOLLIPOP) {
    } else {
    ¿Any solution for this? I need to put there the original icon, not the white version.
  2. NJDude

    NJDude Expert Licensed User

    After updating to L version 5.0.2 that's the behavior, not sure if it's a "feature" or a bug.
  3. Pendrush

    Pendrush Well-Known Member Licensed User

    NJDude likes this.
  4. francobasal

    francobasal New Member Licensed User

    Ok guys, thanks so much!
  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