I\'m using the AppCompat-v7:21.0.0 support library for Android 5.0 Lollipop in Android Studio. My problem is that the Status Bar Color that can be changed by se
Please read this: For this to take effect, the window must be drawing the system bar backgrounds with
android.view.WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS
but
android.view.WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS
must not be set (Source)
In case of you don't know how to add that flag:
getWindow().addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);