Styles and themes are used to create a consistent user interface throughout an app, in a way that allows for reuse, easy maintenance, and compatibility on older versions of Android.
What you'll learn
- Styles
- Themes
- AppCompat
Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.
Styles and themes are used to create a consistent user interface throughout an app, in a way that allows for reuse, easy maintenance, and compatibility on older versions of Android.
Styles in Android are used to create reusable UI customizations for views in layouts. Defined in one place, styles make buttons, text fields, or other widgets look the same.
Chevron 7 steps3:40
2:37
3 objectives
0:57
3 questions
4:38
3 objectives
Themes are collections of styles that can be applied to an app to create consistency across different layouts and versions of Android.
Chevron 8 steps1:28
2:24
2 objectives
4:29
3:08
6:37
4 questions
0:28
Get personalized course recommendations, track subjects and courses with reminders, and more.