Remove app title bar android Remove app title bar android android android

Remove app title bar android


It is unclear what you mean by "whole theme of app changes". For API Level 11+ devices, you probably should be using @android:style/Theme.Holo.NoActionBar.


If you add the theme to the application, it applies to the whole app.

android:theme="@android:style/Theme.NoTitleBar"

You have to add it to the activity declaration.

<activity    android:name=".YourActivity"    android:theme="@android:style/Theme.NoTitleBar"/>


To remove the title bar from your app in android studio

  1. Open res > values > styles.xml file
  2. Replace your code with:

    <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">