Android: Porting Holo Theme to Android 1.6+
Java
#2 Compare This branch is 1 commit ahead, 323 commits behind Prototik:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
addons
application
contrib
demo
library
resbuilder
support-library
.gitignore
.gitmodules
.project
.travis.yml
LICENSE
README.md
formatting.xml
pom.xml

README.md

HoloEverywhere

What is it?

Bringing Holo Theme from Android 4.1 to 2.1 and above.

Links

Play Store
Donate

How to use? (Maven)

  • You should clone git stable branch, init and update submodules:
git clone --branch stable git://github.com/Prototik/HoloEverywhere.git HoloEverywhere
cd HoloEverywhere
git submodule update --init --recursive

Git will be swear on detached HEAD state, ignore it.

You also may use git GUI programs

  • Replace contrib/ActionBarSherlock/library/libs/android-support-v4.jar by support-library/android-support-v4-r12.jar

  • Import ActionBarSherlock from contrib/ActionBarSherlock/library folder

  • Import HoloEverywhere from library folder

  • Add HoloEverywhere Library project as library into your project (Properties/Android/Library/Add)

  • Extend the Activities from org.holoeverywhere.app.***Activity

Example:

import org.holoeverywhere.app.ListActivity;

public class MainActivity extends ListActivity { ...

Also you should cast view to with the same name from package org.holoeverywhere.widget, if possible. This, for example, ProgressBar and Spinner:

import org.holoeverywhere.widget.ProgressBar;

ProgressBar bar = (ProgressBar) findViewById(R.id.progress_bar);

Contact

Sergey:

Christophe:

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4 Screenshot 5 Screenshot 6 Screenshot 7 Screenshot 8 Screenshot 9 Screenshot 10

License

LGPLv3, full text of license see here