Action Bar The action bar is a window feature that identifies the user location, and provides user actions and navigation modes. Using the action bar offers your users a familiar interface across applications that the system gracefully adapts for dif…
Styling the Action Bar If you want to implement a visual design that represents your app's brand, the action bar allows you to customize each detail of its appearance, including the action bar color, text colors, button styles, and more. To do so, yo…
Adding Drop-down Navigation As another mode of navigation (or filtering) for your activity, the action bar offers a built in drop-down list (also known as a "spinner"). For example, the drop-down list can offer different modes by which content i…
This interface is deprecated.Action bar navigation modes are deprecated and not supported by inline toolbar action bars. Consider using other common navigation patterns instead. Adding Navigation Tabs Figure 7. Action bar tabs on a wide screen. Tabs…
Navigating Up with the App Icon Enabling the app icon as an Up button allows the user to navigate your app based on the hierarchical relationships between screens. For instance, if screen A displays a list of items, and selecting an item leads to scr…
Using split action bar Split action bar provides a separate bar at the bottom of the screen to display all action items when the activity is running on a narrow screen (such as a portrait-oriented handset). Figure 3. Mock-ups showing an action bar wi…
Using a logo instead of an icon By default, the system uses your application icon in the action bar, as specified by the icon attribute in the<application> or <activity> element. However, if you also specify the logo attribute, then the action…
Adding the Action Bar As mentioned above, this guide focuses on how to use the ActionBar APIs in the support library. So before you can add the action bar, you must set up your project with the appcompat v7 support library by following the instructio…
In this document Overview Accessing a provider Content URIs Content Provider Basics A content provider manages access to a central repository of data. A provider is part of an Android application, which often provides its own UI for working with the…
Intents An Intent is a messaging object you can use to request an action from another app component. Although intents facilitate communication between components in several ways, there are three fundamental use-cases: Intent用来封装各组件跳转时的数据,行为,目标组件等信息的类…