Change the StatusBar color to the same color of the ActionBar,just like ios7 And Only supports Meizu Flyme3.X
-
In your
onCreate
method ,use StatusBarColorUtils.changeStatusBarColor() beforesetContentView()
-
Need permission of android.permission.SYSTEM_ALERT_WINDOW.
-
Conflict with the swipebacklib by @碎星iKe because of windowIsTranslucent is true.
-
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)
- Original:lob0 - http://weibo.com/lob0 Lobo.zhao@gmail.com
- Modify:朱雪松dream - http://weibo.com/u/2052202067