How to Remove Title bar in Android Studio - Kvcodes
X

Congrats, You are Subscribed to Receive Updates.

How to Remove Title bar in Android Studio


Introduction

This is my first article about Android studio. So far I was very comfortable with Web developments. Here this is my first experience to learn and do work for clients. Lets hope the learning better together. Alright, lets talk about the way to hide the titlebar or navigation menu, or the Header from the Android app.

Steps

Simple steps

  1. Just goto your project and followed by the path app->res->values->styles.xml and here.
<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>
    </style>

2.we have to add the below code like this. and it should be changed to be like this.

<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="windowActionBar">false</item>
 <item name="windowNoTitle">true</item>
</style>

And that’s it. Now you can build the app and check it.

 

 

 

commenter

About Varadharaj V

The founder of Kvcodes, Varadharaj V is an ERP Analyst and a Web developer specializing in WordPress(WP), WP Theme development, WP Plugin development, Frontaccounting(FA), Sales, Purchases, Inventory, Ledgers, Payroll & HRM, CRM, FA Core Customization, OpenCart Theme Development, PHP, HTML, CSS, jQuery, Bootstrap development and content SEO.

Comment Below

Your email address will not be published. Required fields are marked *

*

Current ye@r *

Menu

Sidebar

Subscribe E-mail Updates

Congrats, You are Subscribed to Receive Updates.

Advertisement

Category Posts