Alex Rivera | Logout

How to disable action bar permanently

Asked 2011-12-10T13:31:20.077
152

I can hide the action bar in honeycomb using this code:

getActionBar().hide();

But when the keyboard opens, and user copy-pastes anything, the action bar shows again. How can I disable the action bar permanently?

Edit
Report

2 Answers

124

By setting activity theme in Manifest,

<activity
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
....
>
answered 2011-12-12T06:57:17.933
31
<application
    .
    .
    android:theme="@android:style/Theme.Holo.Light.NoActionBar"
    . >

maybe this help you

answered 2013-04-06T11:43:18.027

Your Answer