This walkthrough shows how to build user interface following the Android UI pattern in just a few steps.

Note: In order to follow this walkthrough in your own development environment, you have to setup your development environment to use the DroidUX. If you haven’t done so, please see this tutorial.

Initialize the DroidUX library in your Application

To use the DroidUX library in your application, you need to initialize it first. See this tutorial on how to do that.

Part I: Action Bar

To use the actionbar widget, follow these steps:

1. Define the xml layout for the action bar

For more information on the custom attributes used in this example, please see the reference (you can see it online here).

2. Initialize the action bar layout

Part 2: Dashboard

To use the dashboard widget, follow these steps:

1. Define the xml layout for the dashboard

2. Initialize the dashboard layout

Part 3: Quick Actions

To use the quick action widget, follow these steps:

1. Define the layout of the quick action

2. Show the quick-action widget

Pin It on Pinterest

Shares
Share This