Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

use holo theme on Android < 4.0

I'm developing an app for Android 2.2 and higher. I use the great ActionBarSherlock (thank you, Jake Wharton !!) to use the action bar on pre-ICS devices.

While the actionbar looks great, all other gui elements have the look of the default theme of the device (in my case HTC Sense 3).

Is there a possibility to style my (>= Android 2.2) app on all android devices with the Holo.Dark.Theme?

I compile my app with Android 4.0.3, the minSDK version is 8.

like image 396
Andrew Avatar asked Feb 16 '12 13:02

Andrew


People also ask

What is Holo Android?

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.


2 Answers

Enjoy HoloEverywhere, that's the whole purpose of the project!

(Edit) new adress: https://github.com/Prototik/HoloEverywhere

like image 101
Waza_Be Avatar answered Sep 21 '22 08:09

Waza_Be


No. That would require a back port of the complete Holo theme and styling, which Google chose not to do. It would also be a rather ambitious undertaking and I would think it is out of scope of the ActionBarSherlock project, whose focus is on ActionBar compatibility.

The best you can do is cherry pick the resources you most want from the ICS source and create your own custom theme/styles.

like image 22
Jeff Gilfelt Avatar answered Sep 21 '22 08:09

Jeff Gilfelt