diff --git a/README.md b/README.md index 34cbac23..f6240d1c 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,54 @@ -# HoloEverywhere +# HoloEverywhere v1.2.4 ## What is it? -Bringing Holo Theme from Android 4.0 to 1.6 and above. +Bringing Holo Theme from Android 4.1 to 1.6 and above. ## How to use? + ``` git clone git://github.com/ChristopheVersieux/HoloEverywhere.git cd HoloEverywhere git submodule update --init ``` -* Import HoloEverywhere and ActionBarSherlock into Eclipse + +* 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 android:theme="@style/Holo.Theme.Sherlock" in your application manifest, you may also want to use light theme: Holo.Theme.Sherlock.Light -* Extend the Application object from com.WazaBe.Holo.Everywhere.Application (optional) -* Extend the Activities from com.WazaBe.HoloEverywhere.sherlock.S\*\*\*Activity (example com.WazaBe.HoloEverywhere.sherlock.SListActivity) + +* Add next theme declaration: + +``` +android:theme="@style/Holo.Theme.Sherlock" +``` + +in your application manifest +Example: + +``` + +``` + +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](https://plus.google.com/108315424589085456181/posts "Google Plus") diff --git a/demo/AndroidManifest.xml b/demo/AndroidManifest.xml index 2af7585f..bc65fc82 100644 --- a/demo/AndroidManifest.xml +++ b/demo/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionCode="13" + android:versionName="1.2.4" > diff --git a/demo/pom.xml b/demo/pom.xml index 043a5f91..b0e5c9f8 100644 --- a/demo/pom.xml +++ b/demo/pom.xml @@ -7,7 +7,7 @@ com.github.christopheversieux holoeverywhere-parent - 1.2.3-SNAPSHOT + 1.2.4 diff --git a/library/AndroidManifest.xml b/library/AndroidManifest.xml index 07daca3a..51646361 100644 --- a/library/AndroidManifest.xml +++ b/library/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionCode="13" + android:versionName="1.2.4" > diff --git a/library/pom.xml b/library/pom.xml index 56c65722..82a306f4 100644 --- a/library/pom.xml +++ b/library/pom.xml @@ -7,7 +7,7 @@ com.github.christopheversieux holoeverywhere-parent - 1.2.3-SNAPSHOT + 1.2.4 diff --git a/pom.xml b/pom.xml index de24bd98..580d6e51 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ com.github.christopheversieux holoeverywhere-parent pom - 1.2.3-SNAPSHOT + 1.2.4 HoloEverywhere (Parent) Android library bringing Holo Theme to Android 1.6 and above. https://github.com/ChristopheVersieux/HoloEverywhere diff --git a/website/screen1.png b/website/screen1.png index cb3aaf4f..7e4d4aed 100644 Binary files a/website/screen1.png and b/website/screen1.png differ diff --git a/website/screen2.png b/website/screen2.png index 9511274d..c10f89f9 100644 Binary files a/website/screen2.png and b/website/screen2.png differ diff --git a/website/screen3.png b/website/screen3.png index 91b8e1fd..0db794a7 100644 Binary files a/website/screen3.png and b/website/screen3.png differ diff --git a/website/screen4.png b/website/screen4.png index 2fc70aa2..6df797a3 100644 Binary files a/website/screen4.png and b/website/screen4.png differ diff --git a/website/screen5.png b/website/screen5.png index 42da5d0f..de694d94 100644 Binary files a/website/screen5.png and b/website/screen5.png differ diff --git a/website/screen6.png b/website/screen6.png index f8051b63..238f01c7 100644 Binary files a/website/screen6.png and b/website/screen6.png differ diff --git a/website/screen7.png b/website/screen7.png index 067434fb..ed7752b2 100644 Binary files a/website/screen7.png and b/website/screen7.png differ diff --git a/website/screen8.png b/website/screen8.png index b6cdc74f..47a22a5e 100644 Binary files a/website/screen8.png and b/website/screen8.png differ