19
Fantasy Action Bar

Action bar

  • Upload
    -

  • View
    50

  • Download
    2

Embed Size (px)

Citation preview

Fantasy

Action Bar

Show app’s activities.

Offer familiar user experience.

Key function include:◦ A dedicated space.◦ Access to important actions in a predictable way .◦ Support for navigation and view switching.

Purpose

Function- General Organization

Function- Back vs. Up

1

2 3 4

Function - Drawer layout

Function - Sharing data

Function - Contextual Action Bars

Example - Google app

Example - Microsoft app

Example – Social network

Example – Productive app

Support Android 3.0 and Above Only

Support Android 2.1 and Above◦ 1.set up the v7 appcompat library◦ 2.◦ 3.◦ 4.

Setting Up the Action Bar

1. Specify the Actions in XML

Adding Action Buttons

2. Add the Actions to the Action Bar

3. Respond to Action Buttons

Adding Action Buttons

Add Up Button for Low-level Activities

Adding Action Buttons

Adding Action Buttons Enable the app icon

Use an Android Theme

Styling the Action Bar

Overlaying the Action Bar

Without/With action bar