Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Treehouse

Styles and Themes in Android Course (How To)

via Treehouse

Overview

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

Syllabus

Using Styles in Layouts

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 steps
  • Defining the Problem

    3:40

  • Creating a Style

    2:37

  • Creating a Style

    3 objectives

  • Including One Layout in Another

    0:57

  • Using Includes for Repeatable Layouts

    3 questions

  • Styling More Views

    4:38

  • Styling EditTexts and Buttons

    3 objectives

Themes and Compatibility

Themes are collections of styles that can be applied to an app to create consistency across different layouts and versions of Android.

Chevron 8 steps
  • Introducing Themes

    1:28

  • Creating a Theme

    2:24

  • Creating a Theme

    2 objectives

  • AppCompat and Themes

    4:29

  • Fixing Compatibility Issues

    3:08

  • Using AppCompatActivity

    6:37

  • Review: Styles and Themes

    4 questions

  • Final Thoughts

    0:28

Reviews

Start your review of Styles and Themes in Android Course (How To)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.