How to Hide ActionBar and NotificationBar in android

How to Hide ActionBar and NotificationBar in android

Solution: How to disable/hide notification bar at the top which show battery and other things in android. How to Hide ActionBar and NotificationBar in android style.xml <resources> <!– Base application theme. —> <style name=“AppTheme” parent=“Theme.AppCompat.Light.DarkActionBar”> <!– Customize your theme here. —> <item name=“colorPrimary”>@color/colorPrimary</item> <item name=“colorPrimaryDark”>@color/colorPrimaryDark</item> <item name=“colorAccent”>@color/colorAccent</item> <item name=“android:textColor”>@color/colorAccent</item> </style> <style name=“AppTheme.NoActionBar”> <item name=“windowActionBar”>false</item> <item …

How to Hide ActionBar and NotificationBar in android Read More »