Now that you've made some decisions regarding the finer details of your UI, it's time to think about how you might implement them. This is where themes and styles come in useful, as they're one of the quickest and easiest ways of implementing design decisions consistently across your views, activities, and even your entire application.
Once you've made these design decisions, it's a good idea to create styles and perhaps even a theme to help you implement your designs easily and consistently.
Styles and themes are essentially the same thing: a collection of properties. These properties can be anything from the color of your text, to the size of an ImageView
, or even the "wrap_content"
attribute. The difference isn't how you create this collection of properties, but how you apply them to your project:
Styles are the groups of properties that control what a view looks like; for example, you might apply a style to a
TextView
to specify the size and color of all the text...