Skip to content

ismoli/HoloEverywhere

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HoloEverywhere v1.3

What is it?

Bringing Holo Theme from Android 4.1 to 1.6 and above.

How to use?

  • You should clone git repo, init and update submodules:
git clone git://github.com/ChristopheVersieux/HoloEverywhere.git HoloEverywhere
cd HoloEverywhere
git submodule update --init

You also may use git GUI programs

  • Import HoloEverywhere from root folder and ActionBarSherlock from contrib folder into Eclipse

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

  • Add next theme declaration:

android:theme="@style/Holo.Theme.Sherlock"

in your application manifest Example:

<application
  android:name=".Application"
  android:icon="@drawable/icon"
  android:label="@string/app_name"
  android:theme="@style/Holo.Theme.Sherlock" >

Also you can use Holo.Theme.Sherlock.Light for light theme and Holo.Theme.Sherlock.Light.DarkActionBar for light theme with dark action bar.

  • Extend the Activities from com.WazaBe.HoloEverywhere.sherlock.S***Activity

Example:

public class MainActivity extends com.WazaBe.HoloEverywhere.sherlock.SListActivity { ...

Also you should cast view to with the same name from package com.WazaBe.HoloEverywhere.widget, if possible. This, for example, ProgressBar and Spinner.

Contact

Christophe: Google Plus

Sergey: GMail

Notice for developers

If you make changes in styles.xml - use the Builder, otherwise pull request will not be accepted.

Screenshots

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

License

Copyright (c) 2012 Christophe Versieux, Sergey Shatunov

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Android: Porting Holo Theme to Android 1.6+

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.9%
  • Shell 0.1%