Android Change StatusBar and Bottom Navigation bar background and color

Write code in  Theme file 


<item name="android:statusBarColor" tools:targetApi="m">@color/colorPrimary</item>

<item name="android:windowLightStatusBar" tools:ignore="NewApi">false</item>

<item name="android:navigationBarColor">@color/colorPrimary</item>
<item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">false</item>




Also change for Theme night.

Comments