This section includes samples showing the use of the application
package features of the static support library.
Action Bar
- Action Bar Mechanics
- Demonstrates the basics of the Action Bar and how it interoperates with the standard options
menu. This demo is for informative purposes only; see Usage for an example of using the
Action Bar in a more idiomatic manner.
- Action Bar Usage
- Demonstrates simple usage of the Action Bar, including a SearchView as an action item. The
default Honeycomb theme includes the Action Bar by default and a menu resource is used to populate
the menu data itself. If you'd like to see how these things work under the hood, see
Mechanics.
- Settings Action Provider
- Shows how to implement an ActionProvider for launching the system settings that supplies a
menu item with a specialized action view and handles standard menu item clicks in one place.
- Display Options
- Shows how various Action Bar display option flags can be combined and their effects.