SlideShare a Scribd company logo
1 of 34
Holo Material Design 
Transition
About me 
Quentin Sallat 
Développeur Android à iD.apps 
@Aerilys
Mais enfin c'est quoi Material ?
L'évolution du design sur Android 
● 1.x/2.x (Depuis 2008) 
o Thème Dark/light 
o Droid
L'évolution du design sur Android 
● 3.x (2011) 
o Holo
L'évolution du design sur Android 
● 4.x (2011) 
o Roboto 
o Design guidelines
Material Design 
Android L (2014) 
● Material design 
● Même design pour tous les produits Google 
● “Cross-platform”
Material Design 
Material is the 
metaphor 
Bold, graphic, 
intentional 
Motion provides 
meaning
De Holo à Material
Steam Explorer - Holo
Material theme
Material theme 
 Créer un dossier pour Android L 
 res/values-v21/styles.xml 
 Faire hériter son thème du thème Material 
 <style name="SteamTheme" 
parent="@android:style/Theme.Material.Light.DarkActionBar"> 
 Trois thèmes 
 Theme.Material (dark) 
 Theme.Material.Light (light) 
 Theme.Material.Light.DarkActionBar
Demo - code
Demo - résultat
Colors 
 Nouveaux attributs pour colorer son application 
 colorPrimary : couleur principale de l’application 
 colorPrimaryDark : variante plus sombre 
 Pour aller plus loin 
 https://developer.android.com/preview/material/theme.html 
 Librairie Palette (support v7)
Colors
Demo - résultat
Floating Action Button
FAB - design rules 
 Bouton flottant 
 Au-dessus de l’UI (couche supérieure) 
 Action majeure de l’écran (promoted action) 
 Pas plus d’un par écran, mais pas obligatoire
FAB - code 
 View customisée, drawable ou reprise d’un projet 
Github existant 
 iosched 
 FloatingActionButton 
 Compatible jusqu’à 2.x avec des adaptations
FAB - code
Demo
FAB - scrolling effect 
 Effet à la Google Plus pour ne pas cacher le contenu 
 Cache le bouton en scroll descendant, l’affiche en scroll ascendant 
 Utilise un ScrollListener sur une ScrollView ou une ListView/GridView 
 QuickReturnListView sur Github 
 Pensez à la petite animation 
Démo
Cards - Design rules 
 Popularisées par Google Now, Facebook… 
 1 card = 1 idée, notion ou contenu 
 Ne s’applique pas à toutes les listes
Cardviews - code 
 Avant : cards avec un drawable 
 Peu customisable 
 Pas standard 
 Pas de gestion dynamique des ombres 
 Avec Android L 
 Facilement customisable 
 Nouvelle classe de la librairie de support v7 
 Attribut elevation pour gérer les ombres
Demo
Animation 
 Nombreuses nouvelles APIs 
 Transitions entre activities 
 Ripple effect 
 Shadows 
 Et plus !
Demo – Ripple effect
Demo – élément partagé
Animations – Elément partagé 
 XML 
 Java
Quelques liens 
Material design rules: 
http://www.google.com/design/ 
Material with Polymer: 
http://www.polymer-project.org/docs/elements/material.html 
Material with Angular: 
http://material.angularjs.org/
Conclusion 
• Material Design is cool! 
• Possibilité de l’appliquer avant Android L 
• … Et même sur d’autres plateformes !
iD.apps 
http://www.id-apps.fr 
http://blog.id-apps.info 
@iD_apps 
Quentin SALLAT 
@Aerilys 
https://github.com/neferetheka

More Related Content

Viewers also liked

Présentation : un client chez PSM
Présentation : un client chez PSMPrésentation : un client chez PSM
Présentation : un client chez PSM
ahibon
 
thèse finale publique
thèse finale publiquethèse finale publique
thèse finale publique
Vincent Fetzer
 
Procedimentos no Despacho Aduaneiro de Exportação
Procedimentos no Despacho Aduaneiro de ExportaçãoProcedimentos no Despacho Aduaneiro de Exportação
Procedimentos no Despacho Aduaneiro de Exportação
ABRACOMEX
 
Insumos Ativos e Inertes
Insumos Ativos e InertesInsumos Ativos e Inertes
Insumos Ativos e Inertes
Safia Naser
 

Viewers also liked (20)

Soil exploration/Investigation method, purpose depth of exploration (Usefulse...
Soil exploration/Investigation method, purpose depth of exploration (Usefulse...Soil exploration/Investigation method, purpose depth of exploration (Usefulse...
Soil exploration/Investigation method, purpose depth of exploration (Usefulse...
 
Geological Site Investigation Methods
Geological Site Investigation MethodsGeological Site Investigation Methods
Geological Site Investigation Methods
 
Présentation : un client chez PSM
Présentation : un client chez PSMPrésentation : un client chez PSM
Présentation : un client chez PSM
 
Poster REU 2016
Poster REU 2016Poster REU 2016
Poster REU 2016
 
Els Taps Corona i el Jetting”, a càrrec de Bertrand Robillard (Institut Œnolo...
Els Taps Corona i el Jetting”, a càrrec de Bertrand Robillard (Institut Œnolo...Els Taps Corona i el Jetting”, a càrrec de Bertrand Robillard (Institut Œnolo...
Els Taps Corona i el Jetting”, a càrrec de Bertrand Robillard (Institut Œnolo...
 
thèse finale publique
thèse finale publiquethèse finale publique
thèse finale publique
 
100 mots pour écrire en Anglais et améliorer votre score au TOEIC TEST
100 mots pour écrire en Anglais et améliorer votre score au TOEIC TEST100 mots pour écrire en Anglais et améliorer votre score au TOEIC TEST
100 mots pour écrire en Anglais et améliorer votre score au TOEIC TEST
 
Soil investigation
Soil investigationSoil investigation
Soil investigation
 
Kerrighed cluster deployment
Kerrighed cluster deploymentKerrighed cluster deployment
Kerrighed cluster deployment
 
Procedimentos no Despacho Aduaneiro de Exportação
Procedimentos no Despacho Aduaneiro de ExportaçãoProcedimentos no Despacho Aduaneiro de Exportação
Procedimentos no Despacho Aduaneiro de Exportação
 
Inertes
InertesInertes
Inertes
 
Insumos Ativos e Inertes
Insumos Ativos e InertesInsumos Ativos e Inertes
Insumos Ativos e Inertes
 
Yuri e joão 4 e
Yuri e joão 4 eYuri e joão 4 e
Yuri e joão 4 e
 
Instituto universitario de tecnología
Instituto universitario de tecnologíaInstituto universitario de tecnología
Instituto universitario de tecnología
 
TRADUCTION AUTOMATIQUE EN LANGUE DES SIGNES BASÉE SUR UNE APPROCHE STATISTIQUE
TRADUCTION AUTOMATIQUE EN LANGUE DES SIGNES BASÉE SUR UNE APPROCHE STATISTIQUETRADUCTION AUTOMATIQUE EN LANGUE DES SIGNES BASÉE SUR UNE APPROCHE STATISTIQUE
TRADUCTION AUTOMATIQUE EN LANGUE DES SIGNES BASÉE SUR UNE APPROCHE STATISTIQUE
 
Deploying Predictive Analytics in Healthcare
Deploying Predictive Analytics in HealthcareDeploying Predictive Analytics in Healthcare
Deploying Predictive Analytics in Healthcare
 
The 3 Must-Have Qualities of a Care Management System
The 3 Must-Have Qualities of a Care Management SystemThe 3 Must-Have Qualities of a Care Management System
The 3 Must-Have Qualities of a Care Management System
 
Bs151 - INSTRUÇÃO NORMATIVA Nº 106-DG/PF
Bs151 - INSTRUÇÃO NORMATIVA Nº 106-DG/PFBs151 - INSTRUÇÃO NORMATIVA Nº 106-DG/PF
Bs151 - INSTRUÇÃO NORMATIVA Nº 106-DG/PF
 
La tierra un planeta habitado
La tierra un planeta habitadoLa tierra un planeta habitado
La tierra un planeta habitado
 
Les défis de l'économie circulaire et le rôle du business modèle
Les défis de l'économie circulaire et le rôle du business modèleLes défis de l'économie circulaire et le rôle du business modèle
Les défis de l'économie circulaire et le rôle du business modèle
 

Similar to Holo material design transition

Débuter avec phonegap (APACHE CORDOVA) dans eclipse pour android
Débuter avec phonegap (APACHE CORDOVA) dans eclipse pour androidDébuter avec phonegap (APACHE CORDOVA) dans eclipse pour android
Débuter avec phonegap (APACHE CORDOVA) dans eclipse pour android
Bosco Basabana
 

Similar to Holo material design transition (20)

Holo material design transition - DroidCon Paris 2014
Holo material design transition - DroidCon Paris 2014Holo material design transition - DroidCon Paris 2014
Holo material design transition - DroidCon Paris 2014
 
Android Studio, premier contact
Android Studio, premier contactAndroid Studio, premier contact
Android Studio, premier contact
 
Android Studio, premier contact
Android Studio, premier contactAndroid Studio, premier contact
Android Studio, premier contact
 
Android introvf
Android introvfAndroid introvf
Android introvf
 
Flutter Rennes - #1
Flutter Rennes - #1Flutter Rennes - #1
Flutter Rennes - #1
 
cours-android.pdf
cours-android.pdfcours-android.pdf
cours-android.pdf
 
Meetup sencha
Meetup senchaMeetup sencha
Meetup sencha
 
Android Jelly Bean
Android Jelly BeanAndroid Jelly Bean
Android Jelly Bean
 
Introduction à Angular
Introduction à AngularIntroduction à Angular
Introduction à Angular
 
Android workshop - Bootcamp du Mauriapp Challenge 2016
Android workshop - Bootcamp du Mauriapp Challenge 2016Android workshop - Bootcamp du Mauriapp Challenge 2016
Android workshop - Bootcamp du Mauriapp Challenge 2016
 
L'univers Android
L'univers AndroidL'univers Android
L'univers Android
 
Débuter avec phonegap (APACHE CORDOVA) dans eclipse pour android
Débuter avec phonegap (APACHE CORDOVA) dans eclipse pour androidDébuter avec phonegap (APACHE CORDOVA) dans eclipse pour android
Débuter avec phonegap (APACHE CORDOVA) dans eclipse pour android
 
Chapitre 1 android
Chapitre 1 androidChapitre 1 android
Chapitre 1 android
 
Initiation au développement mobile sous Android
Initiation au développement mobile sous AndroidInitiation au développement mobile sous Android
Initiation au développement mobile sous Android
 
Adama Coulibaly.pptx
Adama Coulibaly.pptxAdama Coulibaly.pptx
Adama Coulibaly.pptx
 
Wygday 2011 - Introduction à HTML5
Wygday 2011 - Introduction à HTML5Wygday 2011 - Introduction à HTML5
Wygday 2011 - Introduction à HTML5
 
Frontend Operations
Frontend OperationsFrontend Operations
Frontend Operations
 
Silverlight 4
Silverlight 4Silverlight 4
Silverlight 4
 
La puissance des pseudo-éléments
La puissance des pseudo-élémentsLa puissance des pseudo-éléments
La puissance des pseudo-éléments
 
Développer une application android en 2015
Développer une application android  en 2015Développer une application android  en 2015
Développer une application android en 2015
 

Holo material design transition

  • 1. Holo Material Design Transition
  • 2. About me Quentin Sallat Développeur Android à iD.apps @Aerilys
  • 3. Mais enfin c'est quoi Material ?
  • 4. L'évolution du design sur Android ● 1.x/2.x (Depuis 2008) o Thème Dark/light o Droid
  • 5. L'évolution du design sur Android ● 3.x (2011) o Holo
  • 6. L'évolution du design sur Android ● 4.x (2011) o Roboto o Design guidelines
  • 7. Material Design Android L (2014) ● Material design ● Même design pour tous les produits Google ● “Cross-platform”
  • 8. Material Design Material is the metaphor Bold, graphic, intentional Motion provides meaning
  • 9. De Holo à Material
  • 12. Material theme  Créer un dossier pour Android L  res/values-v21/styles.xml  Faire hériter son thème du thème Material  <style name="SteamTheme" parent="@android:style/Theme.Material.Light.DarkActionBar">  Trois thèmes  Theme.Material (dark)  Theme.Material.Light (light)  Theme.Material.Light.DarkActionBar
  • 15. Colors  Nouveaux attributs pour colorer son application  colorPrimary : couleur principale de l’application  colorPrimaryDark : variante plus sombre  Pour aller plus loin  https://developer.android.com/preview/material/theme.html  Librairie Palette (support v7)
  • 19. FAB - design rules  Bouton flottant  Au-dessus de l’UI (couche supérieure)  Action majeure de l’écran (promoted action)  Pas plus d’un par écran, mais pas obligatoire
  • 20. FAB - code  View customisée, drawable ou reprise d’un projet Github existant  iosched  FloatingActionButton  Compatible jusqu’à 2.x avec des adaptations
  • 22. Demo
  • 23. FAB - scrolling effect  Effet à la Google Plus pour ne pas cacher le contenu  Cache le bouton en scroll descendant, l’affiche en scroll ascendant  Utilise un ScrollListener sur une ScrollView ou une ListView/GridView  QuickReturnListView sur Github  Pensez à la petite animation 
  • 24. Démo
  • 25. Cards - Design rules  Popularisées par Google Now, Facebook…  1 card = 1 idée, notion ou contenu  Ne s’applique pas à toutes les listes
  • 26. Cardviews - code  Avant : cards avec un drawable  Peu customisable  Pas standard  Pas de gestion dynamique des ombres  Avec Android L  Facilement customisable  Nouvelle classe de la librairie de support v7  Attribut elevation pour gérer les ombres
  • 27. Demo
  • 28. Animation  Nombreuses nouvelles APIs  Transitions entre activities  Ripple effect  Shadows  Et plus !
  • 29. Demo – Ripple effect
  • 30. Demo – élément partagé
  • 31. Animations – Elément partagé  XML  Java
  • 32. Quelques liens Material design rules: http://www.google.com/design/ Material with Polymer: http://www.polymer-project.org/docs/elements/material.html Material with Angular: http://material.angularjs.org/
  • 33. Conclusion • Material Design is cool! • Possibilité de l’appliquer avant Android L • … Et même sur d’autres plateformes !
  • 34. iD.apps http://www.id-apps.fr http://blog.id-apps.info @iD_apps Quentin SALLAT @Aerilys https://github.com/neferetheka

Editor's Notes

  1. Material is the metaphor A material metaphor is the unifying theory of a rationalized space and a system of motion. The material is grounded in tactile reality, inspired by the study of paper and ink, yet technologically advanced and open to imagination and magic. Surfaces and edges of the material provide visual cues that are grounded in reality. The use of familiar tactile attributes helps users quickly understand affordances. Yet the flexibility of the material creates new affordances that supercede those in the physical world, without breaking t5he rules of physics. The fundamentals of light, surface, and movement are key to conveying how objects move, interact, and exist in space in relation to each other. Realistic lighting shows seams, divides space, and indicates moving parts. Bold, graphic, intentional The foundational elements of print-based design—typography, grids, space, scale, color, and use of imagery—guide visual treatments. These elements do far more than please the eye; they create hierarchy, meaning, and focus. Deliberate color choices, edge-to-edge imagery, large-scale typography, and intentional white space create a bold and graphic interface that immerses the user in the experience. An emphasis on user actions makes core functionality immediately apparent and provides waypoints for the user. Motion provides meaning Motion respects and reinforces the user as the prime mover. Primary user actions are inflection points that initiate motion, transforming the whole design.  All action takes place in a single environment. Objects are presented to the user without breaking the continuity of experience even as they transform and reorganize. Motion is meaningful and appropriate, serving to focus attention and maintain continuity. Feedback is subtle yet clear. Transitions are efficient yet coherent.
  2. http://cyrilmottier.com/2013/05/24/pushing-the-actionbar-to-the-next-level/
  3. Contenu homogène vs non homogène
  4. Gradle de la doc