• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
ActionBar and Holo in Android 2+
 

ActionBar and Holo in Android 2+

on

  • 6,013 views

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

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

follow me on:
www.twitter.com/pavlasek

Statistics

Views

Total Views
6,013
Views on SlideShare
6,013
Embed Views
0

Actions

Likes
3
Downloads
91
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    ActionBar and Holo in Android 2+ ActionBar and Holo in Android 2+ Presentation Transcript

    • 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
    • About me● Java, Android, Grails (etc...) developer● Im not creator of ActionBarSkerlock orHoloEverywhere● Just fan of it
    • ActionBarSherlock Extension of the compatibility library.Action bar design pattern across all versions of Android with a single API. http://actionbarsherlock.com/
    • HoloEverywhere Port of Holo Theme to Android 1.6+https://github.com/ChristopheVersieux/HoloEverywhere
    • ActionBarSherlock● Eclipse: include ActionBarSherlock as a libraryproject● Activity extends Sherlock* - SherlockActivity,SherlockFragmentActivityInteraction with the action bar is handled by●calling getSupportActionBar() (instead ofgetActionBar()).
    • 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
    • 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
    • ActionBarSherlock Examples:@Overridepublic boolean onCreateOptionsMenu(final Menu menu) { final MenuInflater inflater = getSupportMenuInflater(); inflater.inflate(R.menu.only_info2, menu); return true;}
    • ActionBarSherlock
    • ActionBarSherlockUse <item name="absForceOverflow">true</item> in style...
    • HoloEverywhere Port of Holo Theme to Android 1.6+ Themes:● Theme.HoloEverywhereDark● Theme.HoloEverywhereLight● Theme.HoloEverywhereDark.Sherlock● Theme.HoloEverywhereLight.Sherlock
    • HoloEverywhere Examples:
    • HoloEverywhere Examples:
    • More info ActionBarSherlock: http://actionbarsherlock.com/ https://twitter.com/JakeWharton HoloEverywhere:https://github.com/ChristopheVersieux/HoloEverywhere