Top Banner
Action bar 2014/1/21 John
25

Android Training - Action Bar

Apr 15, 2017

Download

Science

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Android Training - Action Bar

Action bar2014/1/21 John

Page 2: Android Training - Action Bar

Outline

Page 3: Android Training - Action Bar

Overview

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 different screen configurations.

Page 4: Android Training - Action Bar

How it works

● Origin

● Target

Page 5: Android Training - Action Bar

How it works

● Adding item● Search view● Navigating up● Split action bar

Page 6: Android Training - Action Bar

How it works

Adding item:Resource of menu, a XML file. (Ref: http://goo.gl/oqlo6)

Page 7: Android Training - Action Bar

How it works

Adding item: (Ref: http://goo.gl/w7gKA)

Page 8: Android Training - Action Bar

How it works

Adding item: (Ref: http://goo.gl/OJSv2y)

Page 9: Android Training - Action Bar

How it works

Search view: (Ref: http://goo.gl/hdWT2p)

Page 10: Android Training - Action Bar

How it works

Search view: (Ref: http://goo.gl/pgSfLX)

Page 11: Android Training - Action Bar

How it works

Navigating up:Enabling the app icon as an Up button allows the user to navigate your app based on the hierarchical relationships between screens.

Page 12: Android Training - Action Bar

How it works

Navigating up: (Ref: http://goo.gl/F3QQlb)

Page 13: Android Training - Action Bar

How it works

Navigating up: (Ref: http://goo.gl/lJxjA)

Page 14: Android Training - Action Bar

How it works

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).

Page 15: Android Training - Action Bar

How it works

Split action bar: (Ref: http://goo.gl/bNlQG)

Page 16: Android Training - Action Bar

Advance

UI design pattern● Quick Return● Fading in/out

Page 17: Android Training - Action Bar

Advance

UI design pattern● Quick Return

Page 18: Android Training - Action Bar

Advance

UI design pattern● Fading in/out

Page 19: Android Training - Action Bar

Advance

Quick Return & Fading Action bar

Page 20: Android Training - Action Bar

Advance

Quick Return Action bar

Page 21: Android Training - Action Bar

Advance

Quick Return Action bar

Page 22: Android Training - Action Bar

Advance

Fading Action bar

Page 23: Android Training - Action Bar

Advance

Fading Action bar

Page 24: Android Training - Action Bar

Homework

● Support Android 2.x● Fragment base● Navigation Tab● Styling