Publications de Pierre Degand

Archi & Techno

Android Material Components: Exploring MaterialShapeDrawable

Material Components is the (not so) new library made by the Material team to replace the old support design library. It provides components to apply Material Design in your application with ease. Among these components, you can find the famous FloatingActionButton, the CardView or the BottomSheet. But there are also some less known, nonetheless powerful, components. And one of them is the MaterialShapeDrawable.

Lire la suite
Archi & Techno

Android Themes & styles, a real architecture

In modern Android development, there is a huge rise of advanced architectures like MVP, MVVM or Clean Architecture, crazy libraries like RxJava or Dagger and even new languages like Kotlin. But on most projects, theme and styles are still written in an oldschool way with no consideration on how to architecture them. But these XML are part of your code base and you should show them the same love you show to your Java Code.

Lire la suite
Archi & techno

Customiser les Styles & Themes sur Android

Maintenant que AppCompat est devenue une librairie incontournable pour les projets Android et le fonctionnement de celle ci reposant beaucoup sur les thèmes et styles customs, cela peut vite devenir frustrant de vouloir customiser son application car la différence entre un thème et un style reste souvent obscure. Dans cet article, je vais essayer de démystifier un peu le fonctionnement de ces thèmes et styles pour vous aider à écrire du code plus simple et avoir une UI customisée pour vos besoins.

Lire la suite
Archi & Techno

Android Styles & Themes for developers

For beginner Android developer or the more experienced ones who don't do much of the UI work, understanding the difference between styles and themes and how they should be used can be very difficult to understand. With AppCompat being a must have in every app and as it's relying A LOT on themes and style, understanding all this can be very frustrating when it comes to customizing its default behaviors. With this article, I'll try to explain what this is all about and how it…

Lire la suite
Archi & techno

Packager une application Android Wear dans la vraie vie

Vous avez déjà une application Android ? C’est l’occasion rêvée d’être présent sur montre connectée grâce à Android Wear. Votre code est déjà prêt, votre graphiste connaît déjà le sujet, il suffit de se lancer. Mais votre application Android n’est pas aussi simple que les exemples de Google: suivez le guide pour ne pas tomber dans les pièges d’Android Wear ! Comme annoncé par Google, votre application pour Android Wear doit être packagée dans l’apk de l’application pour smartphone et celui-ci se charge ensuite de…

Lire la suite