Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a theme for Holo, full screen but with Action Bar?

I need to make an activity appear such that the activity remains full screen (no title bar) but with the Action Bar present.

App uses Holo Light for its interfaces.

Is there such a style/theme?

like image 394
kishu27 Avatar asked Apr 13 '12 02:04

kishu27


People also ask

How do you change the Holo light theme on Android?

To use a Holo theme, explicitly request one from your manifest on your activity or application element, e.g. android:theme="@android:style/Theme. Holo" . Your app will be displayed using the unmodified theme on all compatible Android 4.0 devices.

How can use no action bar in Android?

If you want to hide Action Bar from the entire application (from all Activities and fragments), then you can use this method. Just go to res -> values -> styles. xml and change the base application to “Theme. AppCompat.

What is Holo theme?

Holo, or Holo theme, is a standard theme for Android apps that Google first introduced with Android 3.0 Honeycomb. The company requires manufacturers to include the unmodified Holo theme in Android 4.0 or higher devices if they want to integrate Android Market on their device.


1 Answers

I had the same "issue" and what I do is basically the good old way:

getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); 

This combined with the normal Theme.Holo results in an UI with Actionbar but no Notification area.

like image 176
WarrenFaith Avatar answered Sep 24 '22 14:09

WarrenFaith