How to Remove Title/Action Bar from Android App

You want to remove Title bar or Action bar from Android app? So you can do something in your android development project and hide Title bar or Action bar.

How to Do

NOTITLE BAR

  • Open project on android studio.
  • Expand res and expand values.
  • Then open style.xml or theme.xml and paste Theme.AppCompat.Light.NoActionBar.

My Apps code for full explanation

<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.WADirect" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_500</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
<item name="colorOnPrimary">@color/white</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_700</item>
<item name="colorOnSecondary">@color/black</item>
<!-- Status bar color. -->
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
</style>
</resources>