Skip to content

Lobooo/MeizuStatusBarColor

Repository files navigation

MeizuStatusBarColor

Usage

Change the StatusBar color to the same color of the ActionBar,just like ios7 And Only supports Meizu Flyme3.X

  1. In your onCreate method ,use StatusBarColorUtils.changeStatusBarColor() before setContentView()

  2. Need permission of android.permission.SYSTEM_ALERT_WINDOW.

  3. Conflict with the swipebacklib by @碎星iKe because of windowIsTranslucent is true.

  4. You must make overridePendingTransition so that the animation between activity switching be normal.

    • only support some of animations
    • OK:overridePendingTransition(R.anim.slide_right_in,R.anim.slide_left_out)
    • NG: overridePendingTransition(0,R.anim.slide_left_out)

Developed By

About

Only for Meizu flyme3.X to chang StatusBarColor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages