ActionBarSherlock Demos ABS: Demos Action Items The action bar creates a unified and persistant navigation experience for your application and action items are a great way to provide a clear indication of what the user can do. Action Modes Action modes are used to display contextual information based on some interaction made by the user (long press, checkbox selection, etc). Like the normal action bar they also support splitting the action items to the bottom of the screen on small devices. Action Modes (No Action Bar) Share Action Providers This activity demonstrates how to use an ActionProvider for adding functionality to the Action Bar. In particular this demo is adding a menu item with ShareActionProvider as its action provider. The ShareActionProvider is responsible for managing the UI for sharing actions.\n\nFor now, ShareActionProviders must be displayed on the action bar Action Providers This activity demonstrates how to implement an ActionProvider for adding functionality to the Action Bar. In particular this demo creates an ActionProvider for launching the system settings and adds a menu item with that provider. Collapsible Action Items This activity is a demonstration of how collapsible action items work. When you are concerned about the available room for items on small screens you should use this feature.\n\nIf you are looking for a proper SearchView implementation, see this "Search Views" example. Context Menus Since both ActionBarSherlock and Android use \'Menu\' and \'MenuItem\' class names you must take extra care when using context menus. It is still very much possible to use both in a single activity. Custom Navigation If you find that list and tab navigation are not suitable for your application you may replace it with a custom layout. Dialog This is a demonstration of how you can give an activity the look of a dialog.\n\nWhile there is a light version of this theme, it cannot be set programmatically without disabling the fancy transparent outer background. In order for this effect the theme must be set in the manifest. Feature Toggles Use these buttons to create various configurations with the action bar to see how it behaves. Indeterminate Progress The action bar includes a standard indeterminate progress bar. The methods for accessing it are prefixed with `support`. See the source for this demo for more information. List Navigation List navigation requires the use of a special layout for the spinner item. Failure to use it will result in your spinner text being the same color as the action bar background on pre-3.0. See the source code of this demo for more information. Overlay Overlay can be useful if you have a lot of scrolling content, especially if that content is images. Remember to lead your content with a margin so that it starts below the action bar when scrolled to the top. Preference You can use the `SherlockPreferenceActivity` base class to place the action bar on top of a normal `PreferenceActivity`.\n\nThis does not yet support the use of `PreferenceFragments`, however. Progress The action bar includes a standard progress bar. The methods for accessing it are prefixed with `support`. See the source for this demo for more information. Search Views SearchView allows you provide a unified mechanism of searching with optional featurs such as auto-completion and an always-expanded mode. Simple This is a simple showcase of how easy it is to add the action bar to your activities. Take a look at the source code, it\'s surprisingly simple! Split Action Items This activity is a demonstration of how split action items work. When you are concerned about the available room for items on small screens you should use this feature. Split Action Modes Static Attachment This is a simple showcase of how easy it is to add the action bar to your activities without having to extend from a custom activity. Take a look at the source code, it\'s surprisingly simple! Styled This is a simple showcase of how to style the action bar to your liking. Be sure to remember that you need to consider both the custom and native action bar when styling. Looking at this activity\'s style is a good way to start. Sub-menus This activity is a demonstration of how sub-menus work when they are either an action item or an item in the overflow menu. Tab Navigation Tabs can be useful for switching between a limited number of items. You can also collapse the main body of the action bar on small devices so that only the tab bar is displayed. See the source for more information. Tab Navigation (Collapsed) Share with… In-line preferences Dialog-based preferences Launch preferences Preference attributes Checkbox preference This is a checkbox Edit text preference An example that uses an edit text dialog Enter your favorite animal List preference An example that uses a list dialog Choose one Intent preference Launches an Activity from an Intent My preference This is a custom counter preference Haunted preference I\'m on! :) I\'m off! :( Parent checkbox preference This is visually a parent Child checkbox preference This is visually a child Example preference dependency WiFi WiFi settings beta Default value