Design like ICS, Holo for      Android 2+Use action bar and HOLO theme   in Android 2+ applications      Michal CoPLaS Pav...
About me●    Java, Android, Grails (etc...) developer●   Im not creator of ActionBarSkerlock orHoloEverywhere●   Just fan ...
ActionBarSherlock     Extension of the compatibility library.Action bar design pattern across all versions of           An...
HoloEverywhere     Port of Holo Theme to Android 1.6+https://github.com/ChristopheVersieux/HoloEverywhere
ActionBarSherlock●   Eclipse: include ActionBarSherlock as a libraryproject●   Activity extends Sherlock* - SherlockActivi...
ActionBarSherlock                      Theming:●   requires a set of default themes, one of which    must be applied to ea...
ActionBarSherlock                            Imports:●   Includes and uses a lot of classes that are    named the same as ...
ActionBarSherlock                      Examples:@Overridepublic boolean onCreateOptionsMenu(final Menu menu) {   final Men...
ActionBarSherlock
ActionBarSherlockUse <item   name="absForceOverflow">true</item>   in style...
HoloEverywhere         Port of Holo Theme to Android 1.6+                        Themes:●   Theme.HoloEverywhereDark●   Th...
HoloEverywhere    Examples:
HoloEverywhere    Examples:
More info                ActionBarSherlock:          http://actionbarsherlock.com/         https://twitter.com/JakeWharton...
Upcoming SlideShare
Loading in...5
×

ActionBar and Holo in Android 2+

6,480

Published on

Slides from Android dev meeting in Zilina, Slovakia about ActionBar and Holo in Android 2+.

follow me on:
www.twitter.com/pavlasek

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
6,480
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
106
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

ActionBar and Holo in Android 2+

  1. 1. Design like ICS, Holo for Android 2+Use action bar and HOLO theme in Android 2+ applications Michal CoPLaS Pavlasek www.pavlasek.sk/devel/ twitter.com/pavlasek
  2. 2. About me● Java, Android, Grails (etc...) developer● Im not creator of ActionBarSkerlock orHoloEverywhere● Just fan of it
  3. 3. ActionBarSherlock Extension of the compatibility library.Action bar design pattern across all versions of Android with a single API. http://actionbarsherlock.com/
  4. 4. HoloEverywhere Port of Holo Theme to Android 1.6+https://github.com/ChristopheVersieux/HoloEverywhere
  5. 5. ActionBarSherlock● Eclipse: include ActionBarSherlock as a libraryproject● Activity extends Sherlock* - SherlockActivity,SherlockFragmentActivityInteraction with the action bar is handled by●calling getSupportActionBar() (instead ofgetActionBar()).
  6. 6. ActionBarSherlock Theming:● requires a set of default themes, one of which must be applied to each activity on which you want the action bar present● Theme.Sherlock, Theme.Sherlock.Light, or Theme.Sherlock.Light.DarkActionBar
  7. 7. ActionBarSherlock Imports:● Includes and uses a lot of classes that are named the same as their native counterparts ● com.actionbarsherlock.app.ActionBar ● com.actionbarsherlock.view.Menu ● com.actionbarsherlock.view.MenuItem ● com.actionbarsherlock.view.MenuInflater
  8. 8. ActionBarSherlock Examples:@Overridepublic boolean onCreateOptionsMenu(final Menu menu) { final MenuInflater inflater = getSupportMenuInflater(); inflater.inflate(R.menu.only_info2, menu); return true;}
  9. 9. ActionBarSherlock
  10. 10. ActionBarSherlockUse <item name="absForceOverflow">true</item> in style...
  11. 11. HoloEverywhere Port of Holo Theme to Android 1.6+ Themes:● Theme.HoloEverywhereDark● Theme.HoloEverywhereLight● Theme.HoloEverywhereDark.Sherlock● Theme.HoloEverywhereLight.Sherlock
  12. 12. HoloEverywhere Examples:
  13. 13. HoloEverywhere Examples:
  14. 14. More info ActionBarSherlock: http://actionbarsherlock.com/ https://twitter.com/JakeWharton HoloEverywhere:https://github.com/ChristopheVersieux/HoloEverywhere
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×