From the course: Android Development Essential Training: 2 User Interface Design

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Define custom styles

Define custom styles - Android Tutorial

From the course: Android Development Essential Training: 2 User Interface Design

Start my 1-month free trial

Define custom styles

- [Instructor] Providing a color palette for our material design components helps us to provide a cohesive user experience. Moreover, the design components are very flexible. Each of the properties can be modified to suit the needs of your particular apps design. For instance, let's modify our first button to be an outlined button instead of a colored one. We can do that by selecting the button, then over on common attributes here to the right, we'll choose style from the drop down, and we'll look for, widget.material components.button.outlined button. And notice how that changes the appearance of our button inside of our design pane. But, this is a little too boring for our tastes. Let's add a bit more interest by including an icon. Once again, we'll select our button over under common attributes. Let's scroll down until we find icon, and then we'll choose the resource picker. From here, let's select the IC_logo image,…

Contents