SlideShare a Scribd company logo
1 of 55
You must and you can: Android UI Patterns
Gabriele Mariotti
Android Conference Ancona – 15 April 2014
ANDROID GUIDELINES
Android Conference Ancona - 15 April 2014
• Should I follow them?
• Can I write a successful app without
following them?
• Users don’t know them
DEV
CAN I WRITE A SUCCESSFUL APP WITHOUT FOLLOWING THEM?
Android Conference Ancona - 15 April 2014
https://play.google.com/store/apps/details?id=ch.bitspin.timely
Timely by Bitspin
DEV
CAN I WRITE A SUCCESSFUL APP WITHOUT FOLLOWING THEM?
Yahoo Weather
Android Conference Ancona - 15 April 2014
https://play.google.com/store/apps/details?id=com.yahoo.mobile.client.android.weather
CAN I WRITE A SUCCESSFUL APP WITHOUT FOLLOWING THEM?
Android Conference Ancona - 15 April 2014
Timely by Bitspin
Installs
1,000,000 - 5,000,000
Yahoo Weather
Installs
5,000,000 - 10,000,000
Updated to December 2013
CAN I WRITE A SUCCESSFUL APP WITHOUT FOLLOWING THEM?
Android Conference Ancona - 15 April 2014
Timely by Bitspin Yahoo Weather
Updated to December 2013
They are guidelines not RULES, but...
CAN I WRITE A SUCCESSFUL APP WITHOUT FOLLOWING THEM?
Android Conference Ancona - 15 April 2014
Timely by Bitspin Yahoo Weather
Bitspin WeatherTimely by Yahoo
CAN I WRITE A SUCCESSFUL APP WITHOUT FOLLOWING THEM?
Android Conference Ancona - 15 April 2014
DEV
CAN I WRITE A SUCCESSFUL APP WITHOUT FOLLOWING THEM?
Android Conference Ancona - 15 April 2014
They are guidelines not RULES, but...
...consistency and conventions are there to HELP your users. They help users
get things done and not worry about how to get things done.
Design guidelines are there to help you understand the consistency and
conventions, especially if you're not from around here.
Matias Duarte (Android design lead)
https://plus.google.com/u/0/114892667463719782631/posts/PXGZ48VaqHz
ANDROID GUIDELINES
• Make a beautiful app
• Follow design guidelines
• Optimize your layouts
• Support multiple screens
• Be consistent with the platform
Android Conference Ancona - 15 April 2014
ANDROID GUIDELINES
• I am building a beautiful app
• I should follow design guidelines but...
• I can customize all views
• I can customize all behaviours
Android Conference Ancona - 15 April 2014
A señor developer
ANDROID GUIDELINES
• I want a beautiful app, an android beautiful app
• I don’t know about design guidelines but...
• … I don’t like to learn new things
• I want to use simply your app
Android Conference Ancona - 15 April 2014
A user
If one of your user uninstalls your app….
....you will LOSE him for ever!
WHO IS RIGHT?
Android Conference Ancona - 15 April 2014
My designers would like:
I AM WORRIED
Android Conference Ancona - 15 April 2014
• something new
• a great app
My users would like:
• an app easy to use
• a great app
Beautiful + easy to use
THEN?
Android Conference Ancona - 15 April 2014
• Follow guidelines
• Be creative, but don’t reinvent the wheel
• Be reactive, because standards can change
• Be consistent with platform
• Listen to your users
• Imagine unexpected things
WHAT DOES IT MEAN???
Android Conference Ancona - 15 April 2014
A basic and common example: ACTIONBAR
WHAT DOES IT MEAN???
Android Conference Ancona - 15 April 2014
• Someone had an idea (a magic idea)
• Someone wasn’t afraid to be the first to introduce a new
component
ACTIONBAR BEFORE 2011...
• was first introduced by third party apps, not by Google.
• had different implementations and behaviours
Android Conference Ancona - 15 April 2014
Imagine unexpected things
ACTIONBAR SINCE 2011...
• became an official standard pattern with its rules
• became a guideline
Android Conference Ancona - 15 April 2014
Be consistent
• Don’t stop to evolve this component !!!
Imagine unexpected things
DEV
YOU MUST: USE THE ACTIONBAR
• Use the ActionBar with its rules
• No Fake-ActionBar
• Customize your ActionBar
http://jgilfelt.github.io/android-actionbarstylegenerator/)
Android Conference Ancona - 15 April 2014
http://developer.android.com/design/patterns/actionbar.html
Follow guidelines
Be creative
DEV
ActionBars haven’t to be identical (..since 2011)
YOU MUST: CUSTOMIZE THE ACTIONBAR
Android Conference Ancona - 15 April 2014
http://jgilfelt.github.io/android-actionbarstylegenerator/
DEV
YOU CAN: USE THE SECOND GENERATION OF ACTIONBAR
FadingActionBar: Google introduced it in Google Play Music
Android Conference Ancona - 15 April 2014
https://github.com/ManuelPeinado/FadingActionBar
DEV
YOU CAN: USE THE SECOND GENERATION OF ACTIONBAR
NotBoringActionBar: Google introduced it in Google Play Newsstand
Android Conference Ancona - 15 April 2014
https://github.com/flavienlaurent/NotBoringActionBar/
YOU CAN: USE THE SECOND GENERATION OF ACTIONBAR
Google Keep
Android Conference Ancona - 15 April 2014
● Are they in guidelines?
● Did they break guidelines?
● What would have happen if they had not been
built by Google?
HOW MANY QUESTIONS…..
FadingActionBar, NotBoringActionBar...
Android Conference Ancona - 15 April 2014
Be creative
Imagine unexpected things
THEN
Android Conference Ancona - 15 April 2014
FadingActionBar, NotBoringActionBar…
Be reactive!! Use them !!!
DEV
YOU CAN: USE THE SECOND GENERATION OF ACTIONBAR
A transparent actionbar
Android Conference Ancona - 15 April 2014
https://play.google.com/store/apps/details?id=flipboard.app
Be creative
DEV
YOU CAN: ACTIONBAR + STATUSBAR
Something new… IMMERSIVE FULLSCREEN MODE
• SYSTEM_UI_FLAG_IMMERSIVE
• SYSTEM_UI_FLAG_IMMERSIVE_STICKY
Android Conference Ancona - 15 April 2014
http://developer.android.com/training/system-ui/immersive.html#sticky
DEV
YOU CAN: ACTIONBAR + STATUSBAR
A transparent actionbar + transparent status bar
Android Conference Ancona - 15 April 2014
https://play.google.com/store/apps/details?id=com.b2cloud.cookscompanion
Be creative
Pay attention: I don’t think that all apps can use this feature.
DEV
YOU CAN: ACTIONBAR + STATUSBAR
CREATE A BACKGROUNG “TINT”
FOR NAVIGATION & STATUS BARS
Android Conference Ancona - 15 April 2014
https://github.com/jgilfelt/SystemBarTint
Be creative
THEN?
Be reactive!!
It is something new...then it can change quickly!
If it will become standard, change your code without breaking
the guidelines.
Android Conference Ancona - 15 April 2014
THERE CAN BE (FEW) EXCEPTIONS
Break the established patterns when needed
but don't break them just to be different
Don’t reinvent the wheel
Android Conference Ancona - 15 April 2014
A basic and common example: NAVIGATION DRAWER
WHAT DOES IT MEAN???
Android Conference Ancona - 15 April 2014
• “Facebook navigation”
• Side Navigation
• Fly in app menu
• Sliding menu
• ………….
NAVIGATION DRAWER BEFORE 2013
Android Conference Ancona - 15 April 2014
• was first introduced by third party apps, not by Google.
• had different implementations and behaviours
NAVIGATION DRAWER BEFORE 2013
Android Conference Ancona - 15 April 2014
• Someone had an idea (a magic idea)
• Someone wasn’t afraid to be the first to introduce a new
component Imagine unexpected things
NAVIGATION DRAWER SINCE 2013...
• became an official standard pattern with its rules
• became a guideline
• same behaviour
Android Conference Ancona - 15 April 2014
Be consistent
• Don’t stop to evolve this component !!!
Imagine unexpected things
DEV
YOU MUST: USE THE NAVIGATION DRAWER
• Use the Navigation Drawer with its rules
• No Fake-Navigation Drawer
• Customize your Navigation Drawer
Android Conference Ancona - 15 April 2014
http://developer.android.com/design/patterns/navigation-drawer.html
Follow guidelines
Be creative
Navigation Drawers haven’t to be identical
YOU MUST: CUSTOMIZE THE NAVIGATION DRAWER
Android Conference Ancona - 15 April 2014
● Can I use a custom library instead of the official?
● Can I use a different icon?
● Can I use subtle animations or colored elements
inside my navigation drawer?
HOW MANY QUESTIONS…..
Navigation Drawer...
Android Conference Ancona - 15 April 2014
Be creative and imagine unexpected things
Why????
Why????
Google please can you change it?
A little thought:
- built by Google: it is interesting…..
- built by unknown: ..eh?
what are you doing??
THERE CAN BE (FEW) EXCEPTIONS
Wait…!! I think to know what you would like to ask me!
Android Conference Ancona - 15 April 2014
Why????
YOU CAN: THE 2nd GENERATION OF NAVIGATION DRAWER?
Android Conference Ancona - 15 April 2014
Available soon….stay tune!
• Add colors
• Add subtle animations but look
out for potential gesture
conflict!
A basic and common example: NEW GESTURES and NEW
PATTERNS
WHAT DOES IT MEAN???
Android Conference Ancona - 15 April 2014
DEV
YESTERDAY : PULL TO REFRESH
Android Conference Ancona - 15 April 2014
https://github.com/chrisbanes/Android-PullToRefresh * deprecated!
It was a new pattern:
● Learned by users
● Not in guidelines
They were creative
DEV
TODAY: ACTION BAR PULL TO REFRESH
Android Conference Ancona - 15 April 2014
https://github.com/chrisbanes/ActionBar-PullToRefresh
A new pattern:
● Learned by users
● Not in guidelines
Be reactive
DEV
TOMORROW: SWIPEREFRESHLAYOUT
Android Conference Ancona - 15 April 2014
http://developer.android.com/reference/android/support/v4/widget/SwipeRefreshLayout.html
A new pattern:
● Official Code released in support library 19.1
● It is like Google Now
Be reactive
Don’t be afraid to be the first to
integrate new gestures!
NEW GESTURES
Android Conference Ancona - 15 April 2014
But use a wizard to explain NEW gesture
NEW GESTURES
Android Conference Ancona - 15 April 2014
DEV
Something new… “Circa News” app.
NEW GESTURES:
Android Conference Ancona - 15 April 2014
Be ready..
“Vertical swipe with pagination”
https://play.google.com/store/apps/details?id=cir.ca
DEV
Something new… “Tumblr” app.
NEW GESTURES:
Android Conference Ancona - 15 April 2014
Be ready..
“Swipe back”
https://play.google.com/store/apps/details?id=com.tumblr
THE CHANGES SOMETIMES ARE VIRAL
Android Conference Ancona - 15 April 2014
THE CHANGES SOMETIMES ARE VIRAL
Android Conference Ancona - 15 April 2014
Also with guidelines….
Should I be reactive ?
Be ready..
THE CHANGES SOMETIMES ARE VIRAL
Android Conference Ancona - 15 April 2014
Also with guidelines….
Should I be reactive ?
Be ready..
CLOSING
Android Conference Ancona - 15 April 2014
• Write a great app, following Android guidelines
• Break the established patterns when needed but don't break
them just to be different
• Don’t be afraid to be the first to build unexpected things....
new patterns, new gestures, new views
CLOSING
Remember:
Android Conference Ancona - 15 April 2014
• users expect apps to work in a certain way
• customize your views but don’t build an ANTIPATTERN
• test the user experience
• Guidelines change and evolve…. Be reactive!
Android Conference Ancona - 15 April 2014
Thank you!
Gabriele Mariotti
gabri.mariotti@gmail.com
www.google.com/+GabrieleMariotti

More Related Content

Similar to Gabriele Mariotti - You must and you can: Android UI Patterns

API Design and Enterprise Mobile Apps
API Design and Enterprise Mobile AppsAPI Design and Enterprise Mobile Apps
API Design and Enterprise Mobile AppsQubop Inc.
 
From Napkin to App: Rapidly Prototype and Build for Mobile in Days
From Napkin to App:  Rapidly Prototype and Build for Mobile in DaysFrom Napkin to App:  Rapidly Prototype and Build for Mobile in Days
From Napkin to App: Rapidly Prototype and Build for Mobile in DaysApigee | Google Cloud
 
DroidConIT Wrap-up - Enchant me
DroidConIT Wrap-up - Enchant meDroidConIT Wrap-up - Enchant me
DroidConIT Wrap-up - Enchant meDaniela Mogini
 
Working better together designers & developers
Working better together   designers & developersWorking better together   designers & developers
Working better together designers & developersVitali Pekelis
 
001-Mobile Application.pptx
001-Mobile Application.pptx001-Mobile Application.pptx
001-Mobile Application.pptxAhmedDarre
 
Avoid these mistakes when creating your app.
Avoid these mistakes when creating your app.Avoid these mistakes when creating your app.
Avoid these mistakes when creating your app.Chittaranjan Infotech
 
Get the Swag on! With Eliumstudio & Martin Julien
Get the Swag on! With Eliumstudio & Martin JulienGet the Swag on! With Eliumstudio & Martin Julien
Get the Swag on! With Eliumstudio & Martin JulienTheFamily
 
Question 4 Evaluation By Mona
Question 4 Evaluation By MonaQuestion 4 Evaluation By Mona
Question 4 Evaluation By Monamonasasani23
 
Nearsoft Mobile Onboarding Workshop
Nearsoft Mobile Onboarding WorkshopNearsoft Mobile Onboarding Workshop
Nearsoft Mobile Onboarding WorkshopMisael Leon
 
Coders4Africa Nigeria Technology Conference 2015: User Experience Design
Coders4Africa Nigeria Technology Conference 2015: User Experience DesignCoders4Africa Nigeria Technology Conference 2015: User Experience Design
Coders4Africa Nigeria Technology Conference 2015: User Experience DesignJohn Adams
 
Six tips for better mobile ux design
Six tips for better mobile ux designSix tips for better mobile ux design
Six tips for better mobile ux designDenis Riftin
 
How to Make an App for Android and Ios
How to Make an App for Android and IosHow to Make an App for Android and Ios
How to Make an App for Android and Iossimonedaniels3
 
A Complete Guide on How to Develop Music Streaming App
A Complete Guide on How to Develop Music Streaming AppA Complete Guide on How to Develop Music Streaming App
A Complete Guide on How to Develop Music Streaming AppXongoLab Technologies LLP
 
Mobile Mutation @Meetic - Paris Web 2014
Mobile Mutation @Meetic - Paris Web 2014Mobile Mutation @Meetic - Paris Web 2014
Mobile Mutation @Meetic - Paris Web 2014Jean-Loup Yu
 
FireUpYourStartup - Developing Your Dream Product
FireUpYourStartup - Developing Your Dream ProductFireUpYourStartup - Developing Your Dream Product
FireUpYourStartup - Developing Your Dream ProductSaurabh Gawande
 
What Glass Ceiling? How to kick Ass in the Mobile Industry by just producing ...
What Glass Ceiling? How to kick Ass in the Mobile Industry by just producing ...What Glass Ceiling? How to kick Ass in the Mobile Industry by just producing ...
What Glass Ceiling? How to kick Ass in the Mobile Industry by just producing ...Lynette Hundermark
 
First Impressions Matter: Onboarding for First Time Users
First Impressions Matter: Onboarding for First Time UsersFirst Impressions Matter: Onboarding for First Time Users
First Impressions Matter: Onboarding for First Time UsersDesign for Context
 

Similar to Gabriele Mariotti - You must and you can: Android UI Patterns (20)

API Design and Enterprise Mobile Apps
API Design and Enterprise Mobile AppsAPI Design and Enterprise Mobile Apps
API Design and Enterprise Mobile Apps
 
From Napkin to App: Rapidly Prototype and Build for Mobile in Days
From Napkin to App:  Rapidly Prototype and Build for Mobile in DaysFrom Napkin to App:  Rapidly Prototype and Build for Mobile in Days
From Napkin to App: Rapidly Prototype and Build for Mobile in Days
 
DroidConIT Wrap-up - Enchant me
DroidConIT Wrap-up - Enchant meDroidConIT Wrap-up - Enchant me
DroidConIT Wrap-up - Enchant me
 
Working better together designers & developers
Working better together   designers & developersWorking better together   designers & developers
Working better together designers & developers
 
001-Mobile Application.pptx
001-Mobile Application.pptx001-Mobile Application.pptx
001-Mobile Application.pptx
 
Avoid these mistakes when creating your app.
Avoid these mistakes when creating your app.Avoid these mistakes when creating your app.
Avoid these mistakes when creating your app.
 
Get the Swag on! With Eliumstudio & Martin Julien
Get the Swag on! With Eliumstudio & Martin JulienGet the Swag on! With Eliumstudio & Martin Julien
Get the Swag on! With Eliumstudio & Martin Julien
 
Question 4 Evaluation By Mona
Question 4 Evaluation By MonaQuestion 4 Evaluation By Mona
Question 4 Evaluation By Mona
 
Nearsoft Mobile Onboarding Workshop
Nearsoft Mobile Onboarding WorkshopNearsoft Mobile Onboarding Workshop
Nearsoft Mobile Onboarding Workshop
 
Coders4Africa Nigeria Technology Conference 2015: User Experience Design
Coders4Africa Nigeria Technology Conference 2015: User Experience DesignCoders4Africa Nigeria Technology Conference 2015: User Experience Design
Coders4Africa Nigeria Technology Conference 2015: User Experience Design
 
Six tips for better mobile ux design
Six tips for better mobile ux designSix tips for better mobile ux design
Six tips for better mobile ux design
 
Communitydays2015
Communitydays2015Communitydays2015
Communitydays2015
 
How to Make an App for Android and Ios
How to Make an App for Android and IosHow to Make an App for Android and Ios
How to Make an App for Android and Ios
 
A Complete Guide on How to Develop Music Streaming App
A Complete Guide on How to Develop Music Streaming AppA Complete Guide on How to Develop Music Streaming App
A Complete Guide on How to Develop Music Streaming App
 
Mobile Mutation @Meetic - Paris Web 2014
Mobile Mutation @Meetic - Paris Web 2014Mobile Mutation @Meetic - Paris Web 2014
Mobile Mutation @Meetic - Paris Web 2014
 
Cv & portofolio 2018
Cv & portofolio 2018Cv & portofolio 2018
Cv & portofolio 2018
 
Listfy Sprint #0
Listfy Sprint #0Listfy Sprint #0
Listfy Sprint #0
 
FireUpYourStartup - Developing Your Dream Product
FireUpYourStartup - Developing Your Dream ProductFireUpYourStartup - Developing Your Dream Product
FireUpYourStartup - Developing Your Dream Product
 
What Glass Ceiling? How to kick Ass in the Mobile Industry by just producing ...
What Glass Ceiling? How to kick Ass in the Mobile Industry by just producing ...What Glass Ceiling? How to kick Ass in the Mobile Industry by just producing ...
What Glass Ceiling? How to kick Ass in the Mobile Industry by just producing ...
 
First Impressions Matter: Onboarding for First Time Users
First Impressions Matter: Onboarding for First Time UsersFirst Impressions Matter: Onboarding for First Time Users
First Impressions Matter: Onboarding for First Time Users
 

Recently uploaded

Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 

Recently uploaded (20)

Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 

Gabriele Mariotti - You must and you can: Android UI Patterns

  • 1. You must and you can: Android UI Patterns Gabriele Mariotti Android Conference Ancona – 15 April 2014
  • 2. ANDROID GUIDELINES Android Conference Ancona - 15 April 2014 • Should I follow them? • Can I write a successful app without following them? • Users don’t know them
  • 3. DEV CAN I WRITE A SUCCESSFUL APP WITHOUT FOLLOWING THEM? Android Conference Ancona - 15 April 2014 https://play.google.com/store/apps/details?id=ch.bitspin.timely Timely by Bitspin
  • 4. DEV CAN I WRITE A SUCCESSFUL APP WITHOUT FOLLOWING THEM? Yahoo Weather Android Conference Ancona - 15 April 2014 https://play.google.com/store/apps/details?id=com.yahoo.mobile.client.android.weather
  • 5. CAN I WRITE A SUCCESSFUL APP WITHOUT FOLLOWING THEM? Android Conference Ancona - 15 April 2014 Timely by Bitspin Installs 1,000,000 - 5,000,000 Yahoo Weather Installs 5,000,000 - 10,000,000 Updated to December 2013
  • 6. CAN I WRITE A SUCCESSFUL APP WITHOUT FOLLOWING THEM? Android Conference Ancona - 15 April 2014 Timely by Bitspin Yahoo Weather Updated to December 2013 They are guidelines not RULES, but...
  • 7. CAN I WRITE A SUCCESSFUL APP WITHOUT FOLLOWING THEM? Android Conference Ancona - 15 April 2014 Timely by Bitspin Yahoo Weather
  • 8. Bitspin WeatherTimely by Yahoo CAN I WRITE A SUCCESSFUL APP WITHOUT FOLLOWING THEM? Android Conference Ancona - 15 April 2014
  • 9. DEV CAN I WRITE A SUCCESSFUL APP WITHOUT FOLLOWING THEM? Android Conference Ancona - 15 April 2014 They are guidelines not RULES, but... ...consistency and conventions are there to HELP your users. They help users get things done and not worry about how to get things done. Design guidelines are there to help you understand the consistency and conventions, especially if you're not from around here. Matias Duarte (Android design lead) https://plus.google.com/u/0/114892667463719782631/posts/PXGZ48VaqHz
  • 10. ANDROID GUIDELINES • Make a beautiful app • Follow design guidelines • Optimize your layouts • Support multiple screens • Be consistent with the platform Android Conference Ancona - 15 April 2014
  • 11. ANDROID GUIDELINES • I am building a beautiful app • I should follow design guidelines but... • I can customize all views • I can customize all behaviours Android Conference Ancona - 15 April 2014 A señor developer
  • 12. ANDROID GUIDELINES • I want a beautiful app, an android beautiful app • I don’t know about design guidelines but... • … I don’t like to learn new things • I want to use simply your app Android Conference Ancona - 15 April 2014 A user
  • 13. If one of your user uninstalls your app…. ....you will LOSE him for ever! WHO IS RIGHT? Android Conference Ancona - 15 April 2014
  • 14. My designers would like: I AM WORRIED Android Conference Ancona - 15 April 2014 • something new • a great app My users would like: • an app easy to use • a great app Beautiful + easy to use
  • 15. THEN? Android Conference Ancona - 15 April 2014 • Follow guidelines • Be creative, but don’t reinvent the wheel • Be reactive, because standards can change • Be consistent with platform • Listen to your users • Imagine unexpected things
  • 16. WHAT DOES IT MEAN??? Android Conference Ancona - 15 April 2014
  • 17. A basic and common example: ACTIONBAR WHAT DOES IT MEAN??? Android Conference Ancona - 15 April 2014
  • 18. • Someone had an idea (a magic idea) • Someone wasn’t afraid to be the first to introduce a new component ACTIONBAR BEFORE 2011... • was first introduced by third party apps, not by Google. • had different implementations and behaviours Android Conference Ancona - 15 April 2014 Imagine unexpected things
  • 19. ACTIONBAR SINCE 2011... • became an official standard pattern with its rules • became a guideline Android Conference Ancona - 15 April 2014 Be consistent • Don’t stop to evolve this component !!! Imagine unexpected things
  • 20. DEV YOU MUST: USE THE ACTIONBAR • Use the ActionBar with its rules • No Fake-ActionBar • Customize your ActionBar http://jgilfelt.github.io/android-actionbarstylegenerator/) Android Conference Ancona - 15 April 2014 http://developer.android.com/design/patterns/actionbar.html Follow guidelines Be creative
  • 21. DEV ActionBars haven’t to be identical (..since 2011) YOU MUST: CUSTOMIZE THE ACTIONBAR Android Conference Ancona - 15 April 2014 http://jgilfelt.github.io/android-actionbarstylegenerator/
  • 22. DEV YOU CAN: USE THE SECOND GENERATION OF ACTIONBAR FadingActionBar: Google introduced it in Google Play Music Android Conference Ancona - 15 April 2014 https://github.com/ManuelPeinado/FadingActionBar
  • 23. DEV YOU CAN: USE THE SECOND GENERATION OF ACTIONBAR NotBoringActionBar: Google introduced it in Google Play Newsstand Android Conference Ancona - 15 April 2014 https://github.com/flavienlaurent/NotBoringActionBar/
  • 24. YOU CAN: USE THE SECOND GENERATION OF ACTIONBAR Google Keep Android Conference Ancona - 15 April 2014
  • 25. ● Are they in guidelines? ● Did they break guidelines? ● What would have happen if they had not been built by Google? HOW MANY QUESTIONS….. FadingActionBar, NotBoringActionBar... Android Conference Ancona - 15 April 2014 Be creative Imagine unexpected things
  • 26. THEN Android Conference Ancona - 15 April 2014 FadingActionBar, NotBoringActionBar… Be reactive!! Use them !!!
  • 27. DEV YOU CAN: USE THE SECOND GENERATION OF ACTIONBAR A transparent actionbar Android Conference Ancona - 15 April 2014 https://play.google.com/store/apps/details?id=flipboard.app Be creative
  • 28. DEV YOU CAN: ACTIONBAR + STATUSBAR Something new… IMMERSIVE FULLSCREEN MODE • SYSTEM_UI_FLAG_IMMERSIVE • SYSTEM_UI_FLAG_IMMERSIVE_STICKY Android Conference Ancona - 15 April 2014 http://developer.android.com/training/system-ui/immersive.html#sticky
  • 29. DEV YOU CAN: ACTIONBAR + STATUSBAR A transparent actionbar + transparent status bar Android Conference Ancona - 15 April 2014 https://play.google.com/store/apps/details?id=com.b2cloud.cookscompanion Be creative Pay attention: I don’t think that all apps can use this feature.
  • 30. DEV YOU CAN: ACTIONBAR + STATUSBAR CREATE A BACKGROUNG “TINT” FOR NAVIGATION & STATUS BARS Android Conference Ancona - 15 April 2014 https://github.com/jgilfelt/SystemBarTint Be creative
  • 31. THEN? Be reactive!! It is something new...then it can change quickly! If it will become standard, change your code without breaking the guidelines. Android Conference Ancona - 15 April 2014
  • 32. THERE CAN BE (FEW) EXCEPTIONS Break the established patterns when needed but don't break them just to be different Don’t reinvent the wheel Android Conference Ancona - 15 April 2014
  • 33. A basic and common example: NAVIGATION DRAWER WHAT DOES IT MEAN??? Android Conference Ancona - 15 April 2014
  • 34. • “Facebook navigation” • Side Navigation • Fly in app menu • Sliding menu • …………. NAVIGATION DRAWER BEFORE 2013 Android Conference Ancona - 15 April 2014
  • 35. • was first introduced by third party apps, not by Google. • had different implementations and behaviours NAVIGATION DRAWER BEFORE 2013 Android Conference Ancona - 15 April 2014 • Someone had an idea (a magic idea) • Someone wasn’t afraid to be the first to introduce a new component Imagine unexpected things
  • 36. NAVIGATION DRAWER SINCE 2013... • became an official standard pattern with its rules • became a guideline • same behaviour Android Conference Ancona - 15 April 2014 Be consistent • Don’t stop to evolve this component !!! Imagine unexpected things
  • 37. DEV YOU MUST: USE THE NAVIGATION DRAWER • Use the Navigation Drawer with its rules • No Fake-Navigation Drawer • Customize your Navigation Drawer Android Conference Ancona - 15 April 2014 http://developer.android.com/design/patterns/navigation-drawer.html Follow guidelines Be creative
  • 38. Navigation Drawers haven’t to be identical YOU MUST: CUSTOMIZE THE NAVIGATION DRAWER Android Conference Ancona - 15 April 2014
  • 39. ● Can I use a custom library instead of the official? ● Can I use a different icon? ● Can I use subtle animations or colored elements inside my navigation drawer? HOW MANY QUESTIONS….. Navigation Drawer... Android Conference Ancona - 15 April 2014 Be creative and imagine unexpected things Why???? Why????
  • 40. Google please can you change it? A little thought: - built by Google: it is interesting….. - built by unknown: ..eh? what are you doing?? THERE CAN BE (FEW) EXCEPTIONS Wait…!! I think to know what you would like to ask me! Android Conference Ancona - 15 April 2014 Why????
  • 41. YOU CAN: THE 2nd GENERATION OF NAVIGATION DRAWER? Android Conference Ancona - 15 April 2014 Available soon….stay tune! • Add colors • Add subtle animations but look out for potential gesture conflict!
  • 42. A basic and common example: NEW GESTURES and NEW PATTERNS WHAT DOES IT MEAN??? Android Conference Ancona - 15 April 2014
  • 43. DEV YESTERDAY : PULL TO REFRESH Android Conference Ancona - 15 April 2014 https://github.com/chrisbanes/Android-PullToRefresh * deprecated! It was a new pattern: ● Learned by users ● Not in guidelines They were creative
  • 44. DEV TODAY: ACTION BAR PULL TO REFRESH Android Conference Ancona - 15 April 2014 https://github.com/chrisbanes/ActionBar-PullToRefresh A new pattern: ● Learned by users ● Not in guidelines Be reactive
  • 45. DEV TOMORROW: SWIPEREFRESHLAYOUT Android Conference Ancona - 15 April 2014 http://developer.android.com/reference/android/support/v4/widget/SwipeRefreshLayout.html A new pattern: ● Official Code released in support library 19.1 ● It is like Google Now Be reactive
  • 46. Don’t be afraid to be the first to integrate new gestures! NEW GESTURES Android Conference Ancona - 15 April 2014
  • 47. But use a wizard to explain NEW gesture NEW GESTURES Android Conference Ancona - 15 April 2014
  • 48. DEV Something new… “Circa News” app. NEW GESTURES: Android Conference Ancona - 15 April 2014 Be ready.. “Vertical swipe with pagination” https://play.google.com/store/apps/details?id=cir.ca
  • 49. DEV Something new… “Tumblr” app. NEW GESTURES: Android Conference Ancona - 15 April 2014 Be ready.. “Swipe back” https://play.google.com/store/apps/details?id=com.tumblr
  • 50. THE CHANGES SOMETIMES ARE VIRAL Android Conference Ancona - 15 April 2014
  • 51. THE CHANGES SOMETIMES ARE VIRAL Android Conference Ancona - 15 April 2014 Also with guidelines…. Should I be reactive ? Be ready..
  • 52. THE CHANGES SOMETIMES ARE VIRAL Android Conference Ancona - 15 April 2014 Also with guidelines…. Should I be reactive ? Be ready..
  • 53. CLOSING Android Conference Ancona - 15 April 2014 • Write a great app, following Android guidelines • Break the established patterns when needed but don't break them just to be different • Don’t be afraid to be the first to build unexpected things.... new patterns, new gestures, new views
  • 54. CLOSING Remember: Android Conference Ancona - 15 April 2014 • users expect apps to work in a certain way • customize your views but don’t build an ANTIPATTERN • test the user experience • Guidelines change and evolve…. Be reactive!
  • 55. Android Conference Ancona - 15 April 2014 Thank you! Gabriele Mariotti gabri.mariotti@gmail.com www.google.com/+GabrieleMariotti