Download - Android Design: Beyond the Guidelines

Transcript
Page 1: Android Design: Beyond the Guidelines

BEYOND THE GUIDELINES

Kevin Grant

Creating character and identity inyour Android applications

Thursday, November 7, 13

Page 2: Android Design: Beyond the Guidelines

Thursday, November 7, 13

Page 3: Android Design: Beyond the Guidelines

Thursday, November 7, 13

Page 4: Android Design: Beyond the Guidelines

It’s still awesome

Thursday, November 7, 13

Page 5: Android Design: Beyond the Guidelines

It’s still awesometumblr.com/jobs

Thursday, November 7, 13

Page 6: Android Design: Beyond the Guidelines

Thursday, November 7, 13

Page 7: Android Design: Beyond the Guidelines

Thursday, November 7, 13

Page 8: Android Design: Beyond the Guidelines

ProblemAll basic apps look the same

Thursday, November 7, 13

Page 9: Android Design: Beyond the Guidelines

ProblemAll basic apps look the same

Thursday, November 7, 13

Page 10: Android Design: Beyond the Guidelines

All holo apps look the same

Thursday, November 7, 13

Page 11: Android Design: Beyond the Guidelines

‣ Default styles are easy to implement

All holo apps look the same

Thursday, November 7, 13

Page 12: Android Design: Beyond the Guidelines

‣ Default styles are easy to implement

‣ ActionBar is really hard to customize

All holo apps look the same

Thursday, November 7, 13

Page 13: Android Design: Beyond the Guidelines

‣ Default styles are easy to implement

‣ ActionBar is really hard to customize

‣ Deviation isn’t encouraged

All holo apps look the same

Thursday, November 7, 13

Page 14: Android Design: Beyond the Guidelines

Weak Branding

(these could all be the same)

NewsNew York Times

Circa Currents

Thursday, November 7, 13

Page 15: Android Design: Beyond the Guidelines

News Strong Branding

Flipboard Pulse

Thursday, November 7, 13

Page 16: Android Design: Beyond the Guidelines

Users wants results, not rules

Thursday, November 7, 13

Page 17: Android Design: Beyond the Guidelines

Users wants results, not rules

Thursday, November 7, 13

Page 18: Android Design: Beyond the Guidelines

‣ Creativity is rewarded

Users wants results, not rules

Thursday, November 7, 13

Page 19: Android Design: Beyond the Guidelines

‣ Creativity is rewarded

‣ “Generally fit” into ecosystemis enough

Users wants results, not rules

Thursday, November 7, 13

Page 20: Android Design: Beyond the Guidelines

‣ Creativity is rewarded

‣ “Generally fit” into ecosystemis enough

‣ Don’t listen to Android design trolls

Users wants results, not rules

Thursday, November 7, 13

Page 21: Android Design: Beyond the Guidelines

“Don’t port your iOS design to android”

Thursday, November 7, 13

Page 22: Android Design: Beyond the Guidelines

“Don’t port your iOS design to android”

This doesn’t mean design should not be a priority

Thursday, November 7, 13

Page 23: Android Design: Beyond the Guidelines

Going to cover 3 topics today

Thursday, November 7, 13

Page 24: Android Design: Beyond the Guidelines

Going to cover 3 topics today

‣ Say YES to your designers

Thursday, November 7, 13

Page 25: Android Design: Beyond the Guidelines

Going to cover 3 topics today

‣ Say YES to your designers

‣ Make your applications WHIMSICAL

Thursday, November 7, 13

Page 26: Android Design: Beyond the Guidelines

Going to cover 3 topics today

‣ Say YES to your designers

‣ Make your applications WHIMSICAL

‣ Be a DESIGN LEADER

Thursday, November 7, 13

Page 27: Android Design: Beyond the Guidelines

SAYING YES

Designers send payments to [email protected]

Section 1

Thursday, November 7, 13

Page 28: Android Design: Beyond the Guidelines

SAYING YES

Designers send payments to [email protected]

Section 1

PROBABLY DO THAT

Thursday, November 7, 13

Page 29: Android Design: Beyond the Guidelines

Thursday, November 7, 13

Page 30: Android Design: Beyond the Guidelines

Wouldn’t it be great if...

Thursday, November 7, 13

Page 31: Android Design: Beyond the Guidelines

Wouldn’t it be great if...

What do you think about...

Thursday, November 7, 13

Page 32: Android Design: Beyond the Guidelines

Wouldn’t it be great if...

What do you think about...

How hard would it be to...

Thursday, November 7, 13

Page 33: Android Design: Beyond the Guidelines

Thursday, November 7, 13

Page 34: Android Design: Beyond the Guidelines

Don’t be that guy

Thursday, November 7, 13

Page 35: Android Design: Beyond the Guidelines

‣ Designers aren’t here to ruin the product or everyone’s lives (just yours)

Don’t be that guy

Thursday, November 7, 13

Page 36: Android Design: Beyond the Guidelines

‣ Designers aren’t here to ruin the product or everyone’s lives (just yours)

‣ Most of the time, they’re requests are reasonable, it just requires extra work

Don’t be that guy

Thursday, November 7, 13

Page 37: Android Design: Beyond the Guidelines

‣ Designers aren’t here to ruin the product or everyone’s lives (just yours)

‣ Most of the time, they’re requests are reasonable, it just requires extra work

‣ If your designer asks you to move a pixel, YOU ASK HOW HIGH.

Don’t be that guy

Thursday, November 7, 13

Page 38: Android Design: Beyond the Guidelines

ExampleCan we increase the padding between the home icon and the back carrot?

Thursday, November 7, 13

Page 39: Android Design: Beyond the Guidelines

ExampleCan we increase the padding between the home icon and the back carrot?

Ugh, Google designed it this way for a reason

No

Thursday, November 7, 13

Page 40: Android Design: Beyond the Guidelines

ExampleCan we increase the padding between the home icon and the back carrot?

Ugh, Google designed it this way for a reason

NoI’m sure there’s

something we can do, I’ll get back to you

Yes!

Thursday, November 7, 13

Page 41: Android Design: Beyond the Guidelines

ExampleCan we change the text color of a action button based on it’s state? E.G. FOLLOW should be white, UNFOLLOW should be gray.

Thursday, November 7, 13

Page 42: Android Design: Beyond the Guidelines

ExampleCan we change the text color of a action button based on it’s state? E.G. FOLLOW should be white, UNFOLLOW should be gray.

You can’t really change the color of action bar text programmatically.

No

Thursday, November 7, 13

Page 43: Android Design: Beyond the Guidelines

ExampleCan we change the text color of a action button based on it’s state? E.G. FOLLOW should be white, UNFOLLOW should be gray.

You can’t really change the color of action bar text programmatically.

No Sure! It’s not as straightforward as

just changing the color, but we can

create a custom view and use that instead.

Yes!

Thursday, November 7, 13

Page 44: Android Design: Beyond the Guidelines

ExampleCan we add a cool flippy animation to our dialogs to make them feel like cards?

Thursday, November 7, 13

Page 45: Android Design: Beyond the Guidelines

ExampleCan we add a cool flippy animation to our dialogs to make them feel like cards?

Unfortunately, animating dialogs isn’t supported very well and there isn’t much we can do.

No

Thursday, November 7, 13

Page 46: Android Design: Beyond the Guidelines

ExampleCan we add a cool flippy animation to our dialogs to make them feel like cards?

Unfortunately, animating dialogs isn’t supported very well and there isn’t much we can do.

NoHmm that could be tricky!, We can style an Activity to

look like a dialog and use Activity Transitions

Yes!

Thursday, November 7, 13

Page 47: Android Design: Beyond the Guidelines

Note to Designers

Thursday, November 7, 13

Page 48: Android Design: Beyond the Guidelines

Note to Designers

‣ We probably say no too often

Thursday, November 7, 13

Page 49: Android Design: Beyond the Guidelines

Note to Designers

‣ We probably say no too often

‣ Don’t hate on your developers! It’s not their fault! (Random fun stuff isn’t well supported)

Thursday, November 7, 13

Page 50: Android Design: Beyond the Guidelines

Note to Designers

‣ We probably say no too often

‣ Don’t hate on your developers! It’s not their fault! (Random fun stuff isn’t well supported)

‣ We’re afraid to work on things that have unpredictable deadlines

Thursday, November 7, 13

Page 51: Android Design: Beyond the Guidelines

Note to Designers

‣ We probably say no too often

‣ Don’t hate on your developers! It’s not their fault! (Random fun stuff isn’t well supported)

‣ We’re afraid to work on things that have unpredictable deadlines

‣ Work with your project managers to make sure that developers feel comfortable making design risks that might end up not being used

Thursday, November 7, 13

Page 52: Android Design: Beyond the Guidelines

Case Study - Trending Tag

Can we have these little boxes, and inside the boxes, new posts come in from the left and right,

kind of like the Windows live tiles?

Thursday, November 7, 13

Page 53: Android Design: Beyond the Guidelines

(me)Thursday, November 7, 13

Page 54: Android Design: Beyond the Guidelines

Architecture

Thursday, November 7, 13

Page 55: Android Design: Beyond the Guidelines

‣ HorizontalListView (Special touch interception for GingerBread)

Architecture

Thursday, November 7, 13

Page 56: Android Design: Beyond the Guidelines

‣ HorizontalListView (Special touch interception for GingerBread)

‣ Added as a Header to List

Architecture

Thursday, November 7, 13

Page 57: Android Design: Beyond the Guidelines

‣ HorizontalListView (Special touch interception for GingerBread)

‣ Added as a Header to List

‣ CustomViewSwitcher

Architecture

Thursday, November 7, 13

Page 58: Android Design: Beyond the Guidelines

‣ HorizontalListView (Special touch interception for GingerBread)

‣ Added as a Header to List

‣ CustomViewSwitcher

‣ Generates child views

Architecture

Thursday, November 7, 13

Page 59: Android Design: Beyond the Guidelines

‣ HorizontalListView (Special touch interception for GingerBread)

‣ Added as a Header to List

‣ CustomViewSwitcher

‣ Generates child views

‣ Manages animations and state

Architecture

Thursday, November 7, 13

Page 60: Android Design: Beyond the Guidelines

‣ HorizontalListView (Special touch interception for GingerBread)

‣ Added as a Header to List

‣ CustomViewSwitcher

‣ Generates child views

‣ Manages animations and state

‣ Manages header tag

Architecture

Thursday, November 7, 13

Page 61: Android Design: Beyond the Guidelines

‣ HorizontalListView (Special touch interception for GingerBread)

‣ Added as a Header to List

‣ CustomViewSwitcher

‣ Generates child views

‣ Manages animations and state

‣ Manages header tag

‣ 7 types of child views

Architecture

Thursday, November 7, 13

Page 62: Android Design: Beyond the Guidelines

‣ HorizontalListView (Special touch interception for GingerBread)

‣ Added as a Header to List

‣ CustomViewSwitcher

‣ Generates child views

‣ Manages animations and state

‣ Manages header tag

‣ 7 types of child views

‣ Stateless

Architecture

Thursday, November 7, 13

Page 63: Android Design: Beyond the Guidelines

‣ HorizontalListView (Special touch interception for GingerBread)

‣ Added as a Header to List

‣ CustomViewSwitcher

‣ Generates child views

‣ Manages animations and state

‣ Manages header tag

‣ 7 types of child views

‣ Stateless

‣ Manages it’s own design

Architecture

Thursday, November 7, 13

Page 64: Android Design: Beyond the Guidelines

IssuesAlways animating

Thursday, November 7, 13

Page 65: Android Design: Beyond the Guidelines

‣ Since main screen is a ViewPager, the Animations were always running

IssuesAlways animating

Thursday, November 7, 13

Page 66: Android Design: Beyond the Guidelines

‣ Since main screen is a ViewPager, the Animations were always running

‣ Animation implementation breaking other unrelated animations

IssuesAlways animating

Thursday, November 7, 13

Page 67: Android Design: Beyond the Guidelines

‣ Since main screen is a ViewPager, the Animations were always running

‣ Animation implementation breaking other unrelated animations

‣ Header Views are never recycled

IssuesAlways animating

Thursday, November 7, 13

Page 68: Android Design: Beyond the Guidelines

‣ Since main screen is a ViewPager, the Animations were always running

‣ Animation implementation breaking other unrelated animations

‣ Header Views are never recycled

‣ always animating even if not visible

IssuesAlways animating

Thursday, November 7, 13

Page 69: Android Design: Beyond the Guidelines

‣ Since main screen is a ViewPager, the Animations were always running

‣ Animation implementation breaking other unrelated animations

‣ Header Views are never recycled

‣ always animating even if not visible

‣ Hurts scroll performance

IssuesAlways animating

Thursday, November 7, 13

Page 70: Android Design: Beyond the Guidelines

The code sucks

Thursday, November 7, 13

Page 71: Android Design: Beyond the Guidelines

The code sucksDoesn’t matter, still works

Thursday, November 7, 13

Page 72: Android Design: Beyond the Guidelines

WhimsySection 2

Thursday, November 7, 13

Page 73: Android Design: Beyond the Guidelines

Creative block?

Thursday, November 7, 13

Page 74: Android Design: Beyond the Guidelines

Get drunk.

Thursday, November 7, 13

Page 75: Android Design: Beyond the Guidelines

There is nothing fun about holo

Thursday, November 7, 13

Page 76: Android Design: Beyond the Guidelines

Your app should be fun

There is nothing fun about holo

Thursday, November 7, 13

Page 77: Android Design: Beyond the Guidelines

Use ColorsVine Rdio

Thursday, November 7, 13

Page 78: Android Design: Beyond the Guidelines

Do unexpected things

Yelp

Thursday, November 7, 13

Page 79: Android Design: Beyond the Guidelines

Do unexpected things

Yelp Foursquare (iOS, but it’s still awesome)

Thursday, November 7, 13

Page 80: Android Design: Beyond the Guidelines

Add meaningful animations

Pinterest Circa

Thursday, November 7, 13

Page 81: Android Design: Beyond the Guidelines

Add meaningful animations

Pinterest Circa

Thursday, November 7, 13

Page 82: Android Design: Beyond the Guidelines

Add meaningful animations

Pinterest Circa

(Check out 4.4 ListViewWindowCompat)

Thursday, November 7, 13

Page 83: Android Design: Beyond the Guidelines

Add meaningless animations

Snapchat

Thursday, November 7, 13

Page 84: Android Design: Beyond the Guidelines

Why?

its fun. We like to be delighted

Thursday, November 7, 13

Page 85: Android Design: Beyond the Guidelines

Screen Action Items

Thursday, November 7, 13

Page 86: Android Design: Beyond the Guidelines

- Actionable items outside of the ActionBar

Screen Action Items

Thursday, November 7, 13

Page 87: Android Design: Beyond the Guidelines

- Actionable items outside of the ActionBar

- Unique experience of blending your passive content

Screen Action Items

Thursday, November 7, 13

Page 88: Android Design: Beyond the Guidelines

- Actionable items outside of the ActionBar

- Unique experience of blending your passive content

- Provide unique branding

Screen Action Items

Thursday, November 7, 13

Page 89: Android Design: Beyond the Guidelines

- Actionable items outside of the ActionBar

- Unique experience of blending your passive content

- Provide unique branding

- Great place to have “fun”

Screen Action Items

Thursday, November 7, 13

Page 90: Android Design: Beyond the Guidelines

Screen Action Items can be difficult to integrate into existing code bases. Use case questions must be answered:

How’d we do it?

Thursday, November 7, 13

Page 91: Android Design: Beyond the Guidelines

Screen Action Items can be difficult to integrate into existing code bases. Use case questions must be answered:

- Shoud view always be present?

How’d we do it?

Thursday, November 7, 13

Page 92: Android Design: Beyond the Guidelines

Screen Action Items can be difficult to integrate into existing code bases. Use case questions must be answered:

- Shoud view always be present?- Hide on select or scroll?

How’d we do it?

Thursday, November 7, 13

Page 93: Android Design: Beyond the Guidelines

Screen Action Items can be difficult to integrate into existing code bases. Use case questions must be answered:

- Shoud view always be present?- Hide on select or scroll?

- Every Activity (or fragment)?

How’d we do it?

Thursday, November 7, 13

Page 94: Android Design: Beyond the Guidelines

Screen Action Items can be difficult to integrate into existing code bases. Use case questions must be answered:

- Shoud view always be present?- Hide on select or scroll?

- Every Activity (or fragment)?

- Moveable?

How’d we do it?

Thursday, November 7, 13

Page 95: Android Design: Beyond the Guidelines

How’d we do it?

Thursday, November 7, 13

Page 96: Android Design: Beyond the Guidelines

- Create Views Dynamically

How’d we do it?

Thursday, November 7, 13

Page 97: Android Design: Beyond the Guidelines

- Create Views Dynamically

- Add Views to DecorView for maximum flexibility

How’d we do it?

Thursday, November 7, 13

Page 98: Android Design: Beyond the Guidelines

- Create Views Dynamically

- Add Views to DecorView for maximum flexibility (getWindow().getDecorView())

How’d we do it?

Thursday, November 7, 13

Page 99: Android Design: Beyond the Guidelines

- Create Views Dynamically

- Add Views to DecorView for maximum flexibility (getWindow().getDecorView())

- If targeting API < 11, position using left / top margins

How’d we do it?

Thursday, November 7, 13

Page 100: Android Design: Beyond the Guidelines

- Create Views Dynamically

- Add Views to DecorView for maximum flexibility (getWindow().getDecorView())

- If targeting API < 11, position using left / top margins

- If targeting API >= 11, can position using setX / setY or using animators

How’d we do it?

Thursday, November 7, 13

Page 101: Android Design: Beyond the Guidelines

What can I do today?

Thursday, November 7, 13

Page 102: Android Design: Beyond the Guidelines

Add fun press states!

What can I do today?

Thursday, November 7, 13

Page 103: Android Design: Beyond the Guidelines

Growing Press State

Thursday, November 7, 13

Page 104: Android Design: Beyond the Guidelines

Growing Press State

Mileage may vary based on how you want to

detect “move outside”

Thursday, November 7, 13

Page 105: Android Design: Beyond the Guidelines

Growing Press State continued

Thursday, November 7, 13

Page 106: Android Design: Beyond the Guidelines

Growing Press State continued

Use more than 2 values

Thursday, November 7, 13

Page 107: Android Design: Beyond the Guidelines

Growing Press State continued

Use more than 2 values

Use Different interpolators

Thursday, November 7, 13

Page 108: Android Design: Beyond the Guidelines

Thursday, November 7, 13

Page 109: Android Design: Beyond the Guidelines

Cooler Transitions

What can I do today?

Thursday, November 7, 13

Page 110: Android Design: Beyond the Guidelines

Dialog Themed Activitysand Popup Components to

reduce Navigation Remorse

What can I do today?

Facebook Tumblr

Thursday, November 7, 13

Page 111: Android Design: Beyond the Guidelines

Action Animations make me feel special

What can I do today?Google+ Tumblr

Thursday, November 7, 13

Page 112: Android Design: Beyond the Guidelines

Don’t be a follower

BE A DESIGN LEADERSection 3

Thursday, November 7, 13

Page 113: Android Design: Beyond the Guidelines

Everything we have started as someones idea

Thursday, November 7, 13

Page 114: Android Design: Beyond the Guidelines

Everything we have started as someones idea

‣ ViewPager

Thursday, November 7, 13

Page 115: Android Design: Beyond the Guidelines

Everything we have started as someones idea

‣ ViewPager

‣ Double-Tap to zoom

Thursday, November 7, 13

Page 116: Android Design: Beyond the Guidelines

Everything we have started as someones idea

‣ ViewPager

‣ Double-Tap to zoom

‣ Slide to dismiss list-items

Thursday, November 7, 13

Page 117: Android Design: Beyond the Guidelines

Everything we have started as someones idea

‣ ViewPager

‣ Double-Tap to zoom

‣ Slide to dismiss list-items

‣ Pretty much everything

Thursday, November 7, 13

Page 118: Android Design: Beyond the Guidelines

Navigation DrawerRemember when this was socially unacceptable?

Thursday, November 7, 13

Page 119: Android Design: Beyond the Guidelines

Navigation DrawerRemember when this was socially unacceptable?

‣ Junk Drawer / Trash Drawer

Thursday, November 7, 13

Page 120: Android Design: Beyond the Guidelines

Navigation DrawerRemember when this was socially unacceptable?

‣ Junk Drawer / Trash Drawer

‣ Sloppy Design

Thursday, November 7, 13

Page 121: Android Design: Beyond the Guidelines

Navigation DrawerRemember when this was socially unacceptable?

‣ Junk Drawer / Trash Drawer

‣ Sloppy Design

‣ Doing it wrong

Thursday, November 7, 13

Page 122: Android Design: Beyond the Guidelines

Now it’s a leading navigation style

Thursday, November 7, 13

Page 123: Android Design: Beyond the Guidelines

Now it’s a leading navigation style

ESPN ScoreCenter

Thursday, November 7, 13

Page 124: Android Design: Beyond the Guidelines

Now it’s a leading navigation style

ESPN ScoreCenter Foursquare

Thursday, November 7, 13

Page 125: Android Design: Beyond the Guidelines

Now it’s a leading navigation style

ESPN ScoreCenter Foursquare Facebook

Thursday, November 7, 13

Page 126: Android Design: Beyond the Guidelines

Now it’s a leading navigation style

ESPN ScoreCenter Foursquare Facebook Spotify

Thursday, November 7, 13

Page 127: Android Design: Beyond the Guidelines

In Every Google App

Thursday, November 7, 13

Page 128: Android Design: Beyond the Guidelines

In Every Google App

Thursday, November 7, 13

Page 129: Android Design: Beyond the Guidelines

But what if I want to change it a bit

Thursday, November 7, 13

Page 130: Android Design: Beyond the Guidelines

But what if I want to change it a bit

Generates a lot of rageThursday, November 7, 13

Page 131: Android Design: Beyond the Guidelines

But what if I want to change it a bit

Generates a lot of rageThursday, November 7, 13

Page 132: Android Design: Beyond the Guidelines

Until Google does it, then it’s fine

Thursday, November 7, 13

Page 133: Android Design: Beyond the Guidelines

Until Google does it, then it’s fine

Thursday, November 7, 13

Page 134: Android Design: Beyond the Guidelines

Pull To RefreshRemember when this was considered bad design

for Android?

Thursday, November 7, 13

Page 135: Android Design: Beyond the Guidelines

Now it’s a behavior all users expect

show images of all the apps

Text

Twitter Foursquare Path

Thursday, November 7, 13

Page 136: Android Design: Beyond the Guidelines

Now it’s a behavior all users expect

show images of all the apps

Text

Twitter Foursquare Path (the booger)

Thursday, November 7, 13

Page 137: Android Design: Beyond the Guidelines

And Google added it into all of their productsNo official support yet =(

Gmail Google+ Drive

Thursday, November 7, 13

Page 138: Android Design: Beyond the Guidelines

How does Chrome even fit in?

Thursday, November 7, 13

Page 139: Android Design: Beyond the Guidelines

How does Chrome even fit in?

I dunno, but it’sawesome

Thursday, November 7, 13

Page 140: Android Design: Beyond the Guidelines

What does this all mean?

Thursday, November 7, 13

Page 141: Android Design: Beyond the Guidelines

What does this all mean?

Do something awesome

Thursday, November 7, 13

Page 142: Android Design: Beyond the Guidelines

What does this all mean?

Do something awesome

(but don’t use lens flares)

Thursday, November 7, 13

Page 143: Android Design: Beyond the Guidelines

Swipe Back(stolen from iOS7)

Thursday, November 7, 13

Page 144: Android Design: Beyond the Guidelines

Thursday, November 7, 13

Page 145: Android Design: Beyond the Guidelines

iOS != Bad

Thursday, November 7, 13

Page 146: Android Design: Beyond the Guidelines

Even though I like to pretend it does

iOS != Bad

Thursday, November 7, 13

Page 147: Android Design: Beyond the Guidelines

Thursday, November 7, 13

Page 148: Android Design: Beyond the Guidelines

Design for a tiny hand.

Thursday, November 7, 13

Page 149: Android Design: Beyond the Guidelines

Design for a tiny hand.

Thursday, November 7, 13

Page 150: Android Design: Beyond the Guidelines

- Up Button too far away

Design for a tiny hand.

Thursday, November 7, 13

Page 151: Android Design: Beyond the Guidelines

- Up Button too far away- Back button provides no context

Design for a tiny hand.

Thursday, November 7, 13

Page 152: Android Design: Beyond the Guidelines

- Up Button too far away- Back button provides no context- Why not?

Design for a tiny hand.

Thursday, November 7, 13

Page 153: Android Design: Beyond the Guidelines

Swipe Back

Thursday, November 7, 13

Page 154: Android Design: Beyond the Guidelines

How’d we do it

Thursday, November 7, 13

Page 155: Android Design: Beyond the Guidelines

How’d we do itBefore launching any activity, capture the bitmap of the current window and save it in image cache.

Thursday, November 7, 13

Page 156: Android Design: Beyond the Guidelines

How’d we do itBefore launching any activity, capture the bitmap of the current window and save it in image cache.

Override setContentView in the receiving activity and set the bitmap on an ImageView behind the activity, on the DecorView

Thursday, November 7, 13

Page 157: Android Design: Beyond the Guidelines

How’d we do itBefore launching any activity, capture the bitmap of the current window and save it in image cache.

Override setContentView in the receiving activity and set the bitmap on an ImageView behind the activity, on the DecorView

Open source coming soon!

Thursday, November 7, 13

Page 158: Android Design: Beyond the Guidelines

Whatever you do:Be consistent

Thursday, November 7, 13

Page 159: Android Design: Beyond the Guidelines

We Took our cues from Android...

Thursday, November 7, 13

Page 160: Android Design: Beyond the Guidelines

And went a bit further

Thursday, November 7, 13

Page 161: Android Design: Beyond the Guidelines

Wrapping up

Thursday, November 7, 13

Page 162: Android Design: Beyond the Guidelines

‣ Say YES, it’s what makes our shit awesome

Wrapping up

Thursday, November 7, 13

Page 163: Android Design: Beyond the Guidelines

‣ Say YES, it’s what makes our shit awesome

‣ Be WHIMSICAL!

Wrapping up

Thursday, November 7, 13

Page 164: Android Design: Beyond the Guidelines

‣ Say YES, it’s what makes our shit awesome

‣ Be WHIMSICAL!‣ Be a DESIGN LEADER and push

beyond the guidelines

Wrapping up

Thursday, November 7, 13

Page 165: Android Design: Beyond the Guidelines

“Good applications follow the guidelines,

better applications challenge them.”

Thursday, November 7, 13