Android Developers
Published in

Android Developers

Illustration by Virginia Poltrack

Android styling: themes vs styles

Theme != Style

What’s in a style?

Styles are a collection of view attributes; specific to a single type of widget



What’s a theme?

Themes are a collection of named resources, useful broadly across an app


Use the ?attr/themeAttributeName syntax to query the theme for the value of this semantic attribute


Separate Concerns

Exploding permutations of widgets/styles without theming




Articles on modern tools and resources to help you build experiences that people love, faster and easier, across every Android device.

Recommended from Medium

Correlation between Activity lifecycle and Fragment lifecycle

Interview Questions for Android Developer

9 Great Features Qualcomm’s Snapdragon 865 Is Bringing to 2020 Smartphones

Is Kotlin better than Java?

Part 1: Integrating Jetpack Compose to Our Development Code

SMS Retriever: A New Plugin to Effectively Retrieve SMS on Flutter Based Android Apps

#3 Floating Windows on Android: Permissions

Building My First App on Android Studio

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nick Butcher

Nick Butcher

Android designer + developer @ Google

More from Medium

Speed Up Mandelbrot Drawing on Android Jetpack Compose

Sending View Model Events to the UI

Now in Android #52

My First Contact With Navigation in Jetpack Compose