Set Status Bar Color
Configure your app so that the Android OS matches the color scheme of your app.
The SDK doesn’t use AppCompatActivity. As a result, the OS doesn’t inherit the status bar of your app color automatically. Instead, you must define a custom status bar color. The SDK applies this color on Android 5 (Lollipop) and later.
Use this code to set the status bar color in version 11 of the SDK for Android.
Use this code to set the status bar color in version 10 of the SDK for Android.
Use this code to set the status bar color in version 8 of the SDK for Android.
Use this code to set the status bar color in version 7 of the SDK for Android.