+ All Categories
Home > Design > Design for Android OS training (some technical tips)

Design for Android OS training (some technical tips)

Date post: 26-Jun-2015
Category:
Upload: pavelpavelko
View: 1,271 times
Download: 0 times
Share this document with a friend
Popular Tags:
97
Android Design Principles
Transcript
Page 1: Design for Android OS training (some technical tips)

Android Design Principles

Page 2: Design for Android OS training (some technical tips)

Android Design Principles

Delight me in surprising ways -

Page 3: Design for Android OS training (some technical tips)

Android Design Principles

Delight me in surprising ways - beautiful surface, a carefully-placed animation, or a well-timed sound effect

Page 4: Design for Android OS training (some technical tips)

Android Design Principles

Delight me in surprising ways - beautiful surface, a carefully-placed animation, or a well-timed sound effect

Page 5: Design for Android OS training (some technical tips)

Android Design Principles

Real objects are more fun than buttons and menus -

Page 6: Design for Android OS training (some technical tips)

Android Design Principles

Real objects are more fun than buttons and menus - Allow people to directly touch and manipulate objects in your app

Page 7: Design for Android OS training (some technical tips)

Android Design Principles

Real objects are more fun than buttons and menus - Allow people to directly touch and manipulate objects in your app

Page 8: Design for Android OS training (some technical tips)

Android Design Principles

Let me make it mine -

Page 9: Design for Android OS training (some technical tips)

Android Design Principles

Let me make it mine - People love to add personal touches because it helps them feel at home and in control

Page 10: Design for Android OS training (some technical tips)

Android Design Principles

Let me make it mine - People love to add personal touches because it helps them feel at home and in control

Page 11: Design for Android OS training (some technical tips)

Android Design Principles

Get to know me -

Page 12: Design for Android OS training (some technical tips)

Android Design Principles

Get to know me - Learn peoples' preferences over time

Page 13: Design for Android OS training (some technical tips)

Android Design Principles

Get to know me - Learn peoples' preferences over time

Page 14: Design for Android OS training (some technical tips)

Android Design Principles

Keep it brief -

Page 15: Design for Android OS training (some technical tips)

Android Design Principles

Keep it brief - Use short phrases with simple words

Page 16: Design for Android OS training (some technical tips)

Android Design Principles

Keep it brief - Use short phrases with simple words

Page 17: Design for Android OS training (some technical tips)

Android Design Principles

Pictures are faster than words -

Page 18: Design for Android OS training (some technical tips)

Android Design Principles

Pictures are faster than words - Consider using pictures to explain ideas

Page 19: Design for Android OS training (some technical tips)

Android Design Principles

Pictures are faster than words - Consider using pictures to explain ideas

Page 20: Design for Android OS training (some technical tips)

Android Design Principles

Decide for me but let me have the final say -

Page 21: Design for Android OS training (some technical tips)

Android Design Principles

Decide for me but let me have the final say - Take your best guess and act rather than asking first

Page 22: Design for Android OS training (some technical tips)

Android Design Principles

Decide for me but let me have the final say - Take your best guess and act rather than asking first

Page 23: Design for Android OS training (some technical tips)

Android Design Principles

Only show what I need when I need it -

Page 24: Design for Android OS training (some technical tips)

Android Design Principles

Only show what I need when I need it - People get overwhelmed when they see too much at once

Page 25: Design for Android OS training (some technical tips)

Android Design Principles

Only show what I need when I need it - People get overwhelmed when they see too much at once

Page 26: Design for Android OS training (some technical tips)

Android Design Principles

I should always know where I am -

Page 27: Design for Android OS training (some technical tips)

Android Design Principles

I should always know where I am - Give people confidence that they know their way around

Page 28: Design for Android OS training (some technical tips)

Android Design Principles

I should always know where I am - Give people confidence that they know their way around

Page 29: Design for Android OS training (some technical tips)

Android Design Principles

Never lose my stuff -

Page 30: Design for Android OS training (some technical tips)

Android Design Principles

Never lose my stuff - Save what people took time to create and let them access it from anywhere

Page 31: Design for Android OS training (some technical tips)

Android Design Principles

Never lose my stuff - Save what people took time to create and let them access it from anywhere

Page 32: Design for Android OS training (some technical tips)

Android Design Principles

If it looks the same, it should act the same -

Page 33: Design for Android OS training (some technical tips)

Android Design Principles

If it looks the same, it should act the same - Help people discern functional differences by making them visually distinct rather than subtle

Page 34: Design for Android OS training (some technical tips)

Android Design Principles

If it looks the same, it should act the same - Help people discern functional differences by making them visually distinct rather than subtle

Page 35: Design for Android OS training (some technical tips)

Android Design Principles

Only interrupt me if it's important -

Page 36: Design for Android OS training (some technical tips)

Android Design Principles

Only interrupt me if it's important - Like a good personal assistant, shield people from unimportant minutiae

Page 37: Design for Android OS training (some technical tips)

Android Design Principles

Only interrupt me if it's important - Like a good personal assistant, shield people from unimportant minutiae

Page 38: Design for Android OS training (some technical tips)

Android Design Principles

Give me tricks that work everywhere -

Page 39: Design for Android OS training (some technical tips)

Android Design Principles

Give me tricks that work everywhere - Make your app easier to learn by leveraging visual patterns and muscle memory from other Android apps

Page 40: Design for Android OS training (some technical tips)

Android Design Principles

Give me tricks that work everywhere - Make your app easier to learn by leveraging visual patterns and muscle memory from other Android apps

Page 41: Design for Android OS training (some technical tips)

Android Design Principles

It's not my fault -

Page 42: Design for Android OS training (some technical tips)

Android Design Principles

It's not my fault - Be gentle in how you prompt people to make corrections

Page 43: Design for Android OS training (some technical tips)

Android Design Principles

It's not my fault - Be gentle in how you prompt people to make corrections

Page 44: Design for Android OS training (some technical tips)

Android Design Principles

Sprinkle encouragement -

Page 45: Design for Android OS training (some technical tips)

Android Design Principles

Sprinkle encouragement - Break complex tasks into smaller steps that can be easily accomplished

Page 46: Design for Android OS training (some technical tips)

Android Design Principles

Sprinkle encouragement - Break complex tasks into smaller steps that can be easily accomplished

Page 47: Design for Android OS training (some technical tips)

Android Design Principles

Do the heavy lifting for me -

Page 48: Design for Android OS training (some technical tips)

Android Design Principles

Do the heavy lifting for me - Make novices feel like experts by enabling them to do things they never thought they could

Page 49: Design for Android OS training (some technical tips)

Android Design Principles

Do the heavy lifting for me - Make novices feel like experts by enabling them to do things they never thought they could

Page 50: Design for Android OS training (some technical tips)

Android Design Principles

Make important things fast -

Page 51: Design for Android OS training (some technical tips)

Android Design Principles

Make important things fast - Not all actions are equal. Decide what's most important in your app and make it easy to find and fast to use

Page 52: Design for Android OS training (some technical tips)

Android Design Principles

Make important things fast - Not all actions are equal. Decide what's most important in your app and make it easy to find and fast to use

Page 53: Design for Android OS training (some technical tips)

System Bars

Page 54: Design for Android OS training (some technical tips)

System Bars

Page 55: Design for Android OS training (some technical tips)

System Bars

1. Status Bar -

Page 56: Design for Android OS training (some technical tips)

System Bars

1. Status Bar - Displays pending notifications on the left and status, such as time, battery level, or signal strength, on the right.

Page 57: Design for Android OS training (some technical tips)

System Bars

1. Status Bar - Displays pending notifications on the left and status, such as time, battery level, or signal strength, on the right.

2. Navigation Bar -

Page 58: Design for Android OS training (some technical tips)

System Bars

1. Status Bar - Displays pending notifications on the left and status, such as time, battery level, or signal strength, on the right.

2. Navigation Bar - New for phones in Android 4.0, the navigation bar is present only on devices that don't have the traditional hardware keys

Page 59: Design for Android OS training (some technical tips)

System Bars

1. Status Bar - Displays pending notifications on the left and status, such as time, battery level, or signal strength, on the right.

2. Navigation Bar - New for phones in Android 4.0, the navigation bar is present only on devices that don't have the traditional hardware keys

3. Combined Bar -

Page 60: Design for Android OS training (some technical tips)

System Bars

1. Status Bar - Displays pending notifications on the left and status, such as time, battery level, or signal strength, on the right.

2. Navigation Bar - New for phones in Android 4.0, the navigation bar is present only on devices that don't have the traditional hardware keys

3. Combined Bar - On tablet form factors the status and navigation bars are combined into a single bar at the bottom of the screen.

Page 61: Design for Android OS training (some technical tips)

NotificationsNotifications are brief messages that users can access at any time from the status bar. They provide updates, reminders, or information that's important, but not critical enough to warrant interrupting the user. Open the notifications drawer by swiping down on the status bar. Touching a notification opens the associated app.

Page 62: Design for Android OS training (some technical tips)

Notifications

Notifications can be expanded to uncover more details and relevant actions. When collapsed, notifications have a one-line title and a one-line message. The recommended layout for a notification includes two lines. If necessary, you can add a third line.

Swiping a notification right or left removes it from the notification drawer.

Page 63: Design for Android OS training (some technical tips)

Common App UI

Page 64: Design for Android OS training (some technical tips)

Common App UI

Page 65: Design for Android OS training (some technical tips)

Common App UI1. Main Action Bar -

Page 66: Design for Android OS training (some technical tips)

Common App UI1. Main Action Bar - The command and control

center for your app. The main action bar includes elements for navigating your app's hierarchy and views, and also surfaces the most important actions.

Page 67: Design for Android OS training (some technical tips)

Common App UI1. Main Action Bar - The command and control

center for your app. The main action bar includes elements for navigating your app's hierarchy and views, and also surfaces the most important actions.

2. View Control -

Page 68: Design for Android OS training (some technical tips)

Common App UI1. Main Action Bar - The command and control

center for your app. The main action bar includes elements for navigating your app's hierarchy and views, and also surfaces the most important actions.

2. View Control - Allows users to switch between the different views that your app provides. Views typically consist of different arrangements of your data or different functional aspects of your app.

Page 69: Design for Android OS training (some technical tips)

Common App UI1. Main Action Bar - The command and control

center for your app. The main action bar includes elements for navigating your app's hierarchy and views, and also surfaces the most important actions.

2. View Control - Allows users to switch between the different views that your app provides. Views typically consist of different arrangements of your data or different functional aspects of your app.

3. Content Area -

Page 70: Design for Android OS training (some technical tips)

Common App UI1. Main Action Bar - The command and control

center for your app. The main action bar includes elements for navigating your app's hierarchy and views, and also surfaces the most important actions.

2. View Control - Allows users to switch between the different views that your app provides. Views typically consist of different arrangements of your data or different functional aspects of your app.

3. Content Area - The space where the content of your app is displayed.

Page 71: Design for Android OS training (some technical tips)

Common App UI1. Main Action Bar - The command and control

center for your app. The main action bar includes elements for navigating your app's hierarchy and views, and also surfaces the most important actions.

2. View Control - Allows users to switch between the different views that your app provides. Views typically consist of different arrangements of your data or different functional aspects of your app.

3. Content Area - The space where the content of your app is displayed.

4. Split Action Bar -

Page 72: Design for Android OS training (some technical tips)

Common App UI1. Main Action Bar - The command and control

center for your app. The main action bar includes elements for navigating your app's hierarchy and views, and also surfaces the most important actions.

2. View Control - Allows users to switch between the different views that your app provides. Views typically consist of different arrangements of your data or different functional aspects of your app.

3. Content Area - The space where the content of your app is displayed.

4. Split Action Bar - Split action bars provide a way to distribute actions across additional bars located below the main action bar or at the bottom of the screen. In this example, a split action bar moves important actions that won't fit in the main bar to the bottom.

Page 73: Design for Android OS training (some technical tips)

Overview of Screens Support

Page 74: Design for Android OS training (some technical tips)

Overview of Screens SupportTerms and concepts:

Page 75: Design for Android OS training (some technical tips)

Overview of Screens SupportTerms and concepts:

1. Screen size -

Page 76: Design for Android OS training (some technical tips)

Overview of Screens SupportTerms and concepts:

1. Screen size - Actual physical size, measured as the screen's diagonal

Page 77: Design for Android OS training (some technical tips)

Overview of Screens SupportTerms and concepts:

1. Screen size - Actual physical size, measured as the screen's diagonal2. Screen density -

Page 78: Design for Android OS training (some technical tips)

Overview of Screens SupportTerms and concepts:

1. Screen size - Actual physical size, measured as the screen's diagonal2. Screen density - The quantity of pixels within a physical area of the

screen; usually referred to as dpi (dots per inch)

Page 79: Design for Android OS training (some technical tips)

Overview of Screens SupportTerms and concepts:

1. Screen size - Actual physical size, measured as the screen's diagonal2. Screen density - The quantity of pixels within a physical area of the

screen; usually referred to as dpi (dots per inch)3. Orientation -

Page 80: Design for Android OS training (some technical tips)

Overview of Screens SupportTerms and concepts:

1. Screen size - Actual physical size, measured as the screen's diagonal2. Screen density - The quantity of pixels within a physical area of the

screen; usually referred to as dpi (dots per inch)3. Orientation - The orientation of the screen from the user's point of view.

This is either landscape or portrait, meaning that the screen's aspect ratio is either wide or tall, respectively.

Page 81: Design for Android OS training (some technical tips)

Overview of Screens SupportTerms and concepts:

1. Screen size - Actual physical size, measured as the screen's diagonal2. Screen density - The quantity of pixels within a physical area of the

screen; usually referred to as dpi (dots per inch)3. Orientation - The orientation of the screen from the user's point of view.

This is either landscape or portrait, meaning that the screen's aspect ratio is either wide or tall, respectively.

4. Resolution -

Page 82: Design for Android OS training (some technical tips)

Overview of Screens SupportTerms and concepts:

1. Screen size - Actual physical size, measured as the screen's diagonal2. Screen density - The quantity of pixels within a physical area of the

screen; usually referred to as dpi (dots per inch)3. Orientation - The orientation of the screen from the user's point of view.

This is either landscape or portrait, meaning that the screen's aspect ratio is either wide or tall, respectively.

4. Resolution - The total number of physical pixels on a screen. When adding support for multiple screens, applications do not work directly with resolution; applications should be concerned only with screen size and density

Page 83: Design for Android OS training (some technical tips)

Overview of Screens SupportTerms and concepts:

1. Screen size - Actual physical size, measured as the screen's diagonal2. Screen density - The quantity of pixels within a physical area of the

screen; usually referred to as dpi (dots per inch)3. Orientation - The orientation of the screen from the user's point of view.

This is either landscape or portrait, meaning that the screen's aspect ratio is either wide or tall, respectively.

4. Resolution - The total number of physical pixels on a screen. When adding support for multiple screens, applications do not work directly with resolution; applications should be concerned only with screen size and density

5. Density-independent pixel (dp) -

Page 84: Design for Android OS training (some technical tips)

Overview of Screens SupportTerms and concepts:

1. Screen size - Actual physical size, measured as the screen's diagonal2. Screen density - The quantity of pixels within a physical area of the

screen; usually referred to as dpi (dots per inch)3. Orientation - The orientation of the screen from the user's point of view.

This is either landscape or portrait, meaning that the screen's aspect ratio is either wide or tall, respectively.

4. Resolution - The total number of physical pixels on a screen. When adding support for multiple screens, applications do not work directly with resolution; applications should be concerned only with screen size and density

5. Density-independent pixel (dp) - A virtual pixel unit that you should use when defining UI layout, to express layout dimensions or position in a density-independent way. The density-independent pixel is equivalent to one physical pixel on a 160 dpi screen, which is the baseline density assumed by the system for a "medium" density screen. The conversion of dp units to screen pixels is simple: px = dp * (dpi / 160)

Page 85: Design for Android OS training (some technical tips)

Overview of Screens Support

Page 86: Design for Android OS training (some technical tips)

Overview of Screens SupportRange of screens supported:

Page 87: Design for Android OS training (some technical tips)

Overview of Screens SupportRange of screens supported:

1. Four generalized sizes -

Page 88: Design for Android OS training (some technical tips)

Overview of Screens SupportRange of screens supported:

1. Four generalized sizes - small, normal, large, and xlarge

Page 89: Design for Android OS training (some technical tips)

Overview of Screens SupportRange of screens supported:

1. Four generalized sizes - small, normal, large, and xlarge2. Four generalized densities -

Page 90: Design for Android OS training (some technical tips)

Overview of Screens SupportRange of screens supported:

1. Four generalized sizes - small, normal, large, and xlarge2. Four generalized densities - ldpi (low), mdpi (medium), hdpi (high),

and xhdpi (extra high)

Page 91: Design for Android OS training (some technical tips)

Overview of Screens SupportRange of screens supported:

1. Four generalized sizes - small, normal, large, and xlarge2. Four generalized densities - ldpi (low), mdpi (medium), hdpi (high),

and xhdpi (extra high)

Page 92: Design for Android OS training (some technical tips)

Overview of Screens SupportEach generalized screen size has an associated minimum resolution that's defined by the system

1. xlarge - at least 960dp x 720dp2. large - at least 640dp x 480dp3. normal - at least 470dp x 320dp4. small - at least 426dp x 320dp

Page 93: Design for Android OS training (some technical tips)

Overview of Screens SupportResource sizes for different densities:

Page 94: Design for Android OS training (some technical tips)

Overview of Screens SupportFigures 1 and 2 show the difference between an application when it does not provide density independence and when it does, respectively:

Figure 1

Figure 2

Page 95: Design for Android OS training (some technical tips)

Overview of Screens SupportFollowing is a list of resource directories in an application that provides different layout designs for different screen sizes and different bitmap drawables for medium, high, and extra high density screens:

res/layout/my_layout.xml // layout for normal screen size ("default") res/layout-small/my_layout.xml // layout for small screen size res/layout-large/my_layout.xml // layout for large screen size res/layout-xlarge/my_layout.xml // layout for extra large screen size res/layout-xlarge-land/my_layout.xml // layout for extra large in landscape orientation

res/drawable-mdpi/my_icon.png // bitmap for medium density res/drawable-hdpi/my_icon.png // bitmap for high density res/drawable-xhdpi/my_icon.png // bitmap for extra high density

Page 96: Design for Android OS training (some technical tips)

Draw 9-patch

1. Define the stretchable patches2. Define content area (optional)

You can find this tool:<Android SDK directory>/tools


Recommended