sparrkli sparrkli - 6 months ago 19
Android Question

Remove app title bar android

I know this question has been asked millio times but which ever method i use it is not good for me.
if i use

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


in manifest file, whole theme of the app changes, and if i put

requestWindowFeature(Window.FEATURE_NO_TITLE);


in the onCreate activities, it shows up shortly when starting an app.

Btw i don't have any theme selected, just using standard android.
Thank you in andvance!

Answer

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.