ChrisHarry ChrisHarry - 1 year ago 147
Android Question

How to remove title bar in android?

I want to do android program that contain no title bar. For some reason I cant remove title bar.
I have already tried this coding.


This one also I have tried but the program suddenly stop..


How can I fix this?

Answer Source

In the Style.xml window (App->src->main->res->values->styles.xml) make changes to the <resources> to look like this:


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


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download