responsive headhache relief for android

74
HEADACHE RELIEF HEADACHE RELIEF / Paue 2012 / Paue 2012 ANDROID ANDROID ANDROID or

Upload: herve-mischler

Post on 28-Jan-2015

103 views

Category:

Design


0 download

DESCRIPTION

Android comes in a multitude of screen forms, sizes and densities which can be a real headache for many mobile app designers. To help alleviate this pain, the Android platform contains a potent cocktail of tools in the framework which are designed to provide targeted relief. In this session you will learn how to administer a swift dose of new responsive design concepts into Android applications.

TRANSCRIPT

Page 1: Responsive headhache relief for android

HEADACHE RELIEFHEADACHE RELIEF

!"#$/ !"#% P&a'ue 2012!"#$/ !"#% P&a'ue 2012

ANDROIDANDROIDANDROID

!or

Page 2: Responsive headhache relief for android

!ello "’m Hervé Mischler

@Dstroii

Page 3: Responsive headhache relief for android

!’m a Mac fanboy

Page 4: Responsive headhache relief for android

SAP Electronic Medical Record

Page 5: Responsive headhache relief for android

!ow it wor"s!I need to understand

Page 6: Responsive headhache relief for android

Hone!combANDROID 3

Page 7: Responsive headhache relief for android
Page 8: Responsive headhache relief for android

Ice !rea"ANDROID 4

Sandwich

Page 9: Responsive headhache relief for android
Page 10: Responsive headhache relief for android

January2012

Page 11: Responsive headhache relief for android
Page 12: Responsive headhache relief for android

Dr. Martin Schultz Ward B

WARD B ROOM 6

Maria WuSevere Thoracic Traumapatient informations

Erica LinkSevere Thoracic Traumapatient informations

WARD B ROOM 8

WARD B ROOM 7

Lisa GardnerSevere Thoracic Traumapatient informations

Dieter BrandtSevere Thoracic Traumapatient informations

Andrew ForsterSevere Thoracic Traumapatient informations

Lisa GardnerSevere Thoracic Traumapatient informations

F/32

WARD B ROOM 6

Maria WuSevere Thoracic …patient informations

Erica LinkSevere Thoracic…patient informations

WARD B ROOM 7

Lisa GardnerSevere Thoracic …patient informations

Dieter BrandtSevere Thoracic…patient informations

Dr. Martin Schultz

Systolic Blood Pressurepatient informations

see more…

Temperaturepatient informations

Lisa GardnerAngina pectoris, unspecifiedWard B Room 7 - Admitted 8/11/2011 - Hosp day 9

7/4/87

24 Years F

CHARTS

Physician Letter from GPMedical Specialist

see more…

Physician ReferralNeurology

DOCUMENTS

XRays of chest with 2 imagesScreening Mammography

see more…

XRay:handpatient informations

IMAGES

Page 13: Responsive headhache relief for android
Page 14: Responsive headhache relief for android

48

Page 15: Responsive headhache relief for android

1dp = 1px on a 160dpi screen

dip

Page 16: Responsive headhache relief for android

16 4 8

8

8 48

4

16 16

Button

Page 17: Responsive headhache relief for android

48 48 48 48 48 48 48 48 48 48 48

16 16

16 16

Page 18: Responsive headhache relief for android
Page 19: Responsive headhache relief for android

btn_default.9.png

Page 20: Responsive headhache relief for android

btn_default_pressed.9.png

Page 21: Responsive headhache relief for android

btn_default_focused.9.png

Page 22: Responsive headhache relief for android

btn_default_disabled.9.png

Page 23: Responsive headhache relief for android

btn_default_disabled_focused.9.png

Page 24: Responsive headhache relief for android
Page 25: Responsive headhache relief for android
Page 26: Responsive headhache relief for android
Page 27: Responsive headhache relief for android

!creen "ensity

Page 28: Responsive headhache relief for android

res

drawable-hdpidrawable-ldpidrawable-mdpidrawable-xhdpi

1.5 x0.75 x

1x2x

baseline

Page 29: Responsive headhache relief for android

res

drawable-hdpidrawable-ldpidrawable-mdpidrawable-xhdpi

1.5 x0.75 x

1x2x

drawable-xxhdpi3x 480dpi

Page 30: Responsive headhache relief for android

!creen !ize

Page 31: Responsive headhache relief for android

Over 20 screen c54¿-;rations

available from em;2ator skins in the Android SDK

Page 32: Responsive headhache relief for android

Small Normal Large XLarge

Range of !creens

426dp x 320dp 470dp x 320dp 640dp x 480dp 960dp x 720dp

Page 33: Responsive headhache relief for android

res

drawable-hdpidrawable-ldpidrawable-mdpidrawable-xhdpilayoutlayout-large

values

activity_home.xmllayout-xlarge

activity_home.xml

Page 34: Responsive headhache relief for android

values-sw600dp

values-sw720dp

sw<N>dp

Smallest Width

Page 35: Responsive headhache relief for android

sw320dp sw600dp sw720dp

Target different types of devices

Page 36: Responsive headhache relief for android

values-w720dp

values-w1024dp

w<N>dp

Availabl! "creen width

Page 37: Responsive headhache relief for android

values-h720dp

values-h1024dp

h<N>dp

Availabl! "creen height

Page 38: Responsive headhache relief for android

res

drawable-hdpidrawable-ldpidrawable-mdpidrawable-xhdpilayoutlayout-sw720dp

values

activity_home.xml

Page 39: Responsive headhache relief for android

!creen "#ientation

Page 40: Responsive headhache relief for android

values-port

values-port-w720dp

port

Portrait

Page 41: Responsive headhache relief for android

values-land

values-land-w720dp

land

Landscape

Page 42: Responsive headhache relief for android

Stretch / Com!"ess

Page 43: Responsive headhache relief for android

Stac!

Page 44: Responsive headhache relief for android

Show / Hide

Page 45: Responsive headhache relief for android

F!a"men#s

Page 46: Responsive headhache relief for android

F!a"men#s

Page 47: Responsive headhache relief for android

Action Ba!

Page 48: Responsive headhache relief for android

Stacked Action Ba!

Page 49: Responsive headhache relief for android

Stacked Action Ba!

Page 50: Responsive headhache relief for android

Stacked Action Ba!

Page 51: Responsive headhache relief for android

Stacked Action Ba!

Page 52: Responsive headhache relief for android

48

Page 53: Responsive headhache relief for android

40

Page 54: Responsive headhache relief for android

56

Page 55: Responsive headhache relief for android

"You can almost think of nexus 7 as a bit of a bootstrap to the ecosystem"

Matias DuarteSenior Director, Android User Experience

Page 56: Responsive headhache relief for android

!ig "hone #mall $ablet

Page 57: Responsive headhache relief for android

!evice "ontrols

Page 58: Responsive headhache relief for android
Page 59: Responsive headhache relief for android

Keyboard Type Navigation Touch Screennokeysqwertytwelvekey

nonavdpadtrackballwheel

notouchstylustrackballfinger

Page 60: Responsive headhache relief for android

!latform "ersions

Page 61: Responsive headhache relief for android

res

drawable-hdpi

drawable-ldpi

drawable-mdpi

drawable-xhdpi

layout

values

values-v11Honeycomb

Ice Cream Sandwich values-v14

Page 62: Responsive headhache relief for android

Don’t be afraid of using

Ecli!se

Page 63: Responsive headhache relief for android

ANDROIDDEVELOPERTOOLS

http://developer.android.com/tools/

Page 64: Responsive headhache relief for android
Page 65: Responsive headhache relief for android
Page 66: Responsive headhache relief for android

Don’t be afraid of using

Ecli!se

Page 67: Responsive headhache relief for android

What the web

Can lear!Can lear!from Android

What the web

from Android

Page 68: Responsive headhache relief for android

640dp 800dp384dp 1280dp1024dp

Androi! B"eak#oints

Page 69: Responsive headhache relief for android

Flexbox

Page 70: Responsive headhache relief for android

http://sass-lang.com/

Page 71: Responsive headhache relief for android

sass

images-hdpiimages-ldpiimages-mdpiimages-xhdpilayoutvalues

_colors.scss

_theme.scss

_dimens.scss

Page 72: Responsive headhache relief for android

@media (pointer:coarse) { … }

@media (hover) { … }

Medi! "ueries level 4Device controls

Page 73: Responsive headhache relief for android
Page 74: Responsive headhache relief for android

http://speakerdeck.com/u/dstroii