How to remove action bar from an activity in android ?
goto resources -> values -> open styles.xml -> then set no action bar
your code look like this…
<style name="AppTheme" parent="Theme.AppCompat.NoActionBar"> <!-- Customize your theme here. --> <item name="colorPrimary">@color /colorPrimary</item> <item name="colorPrimaryDark">@color /colorPrimaryDark</item> <item name="colorAccent">@color /colorAccent</item> </style>
Question and answer is powered by AnsPress.io