Android Fundamentals: Styles and Themes
In this course, you will go through how to style widgets, or views of your application, along with selecting and applying appropriate themes to your app while keeping in mind the android device API level.
What you'll learn
An attractive user interface is the first impression of any application that the users come across. To provide a smooth, attractive, and consistent user-interface and design, the most important step that a developer should focus on is the themes and styles of the application. This course, Android Fundamentals: Styles and Themes, is all about how to apply styles to the views and widgets present in the android application, and choosing appropriate themes for an app. First, you will focus on how to apply styles to a View or ViewGroup, along with using the concept of inheritance for styling Views. Next, you'll go over customizing a theme for your application and which can help users identify the category of your application to some extent by just having a glance at it. Finally, you'll go over how best to handle some compatibility issues with your app for lower API level devices that will use it. When you are finished with this course, you'll have a better understanding of how to apply styles and themes to your Android applications.
Table of contents
- Overview 1m
- Project Setup and Overview of Default Values Directory Files 9m
- Defining Styles for Views 3m
- Defining Styles for Views Continued 8m
- Code Snippet: Styling Views 5m
- Selector: Styling Views Based on Their State 2m
- Implementing Selector Using StateListDrawable 5m
- Code Snippet: StateListDrawable Selector 2m
- Implementing Selector Using ColorStateList 7m
- Applying Gradient and Shadow to the Views 7m
- Summary 1m
- Overview 2m
- Understanding the Problem Statement: Maintenance Overhead 4m
- Explicit Inheritance vs Implicit Inheritance 2m
- Implementing Implicit Inheritance 13m
- Implementing Explicit Inheritance 5m
- Code Snippet: Explicit and Implicit Inheritance 2m
- Reusability: Advantage of Styling with Inheritance 4m
- When Should We Define a Style for a View? 3m
- Summary 1m