‫Welcome back.
‫In this video I'm going to add the latest touches for our UI here in the main activity and inside the
‫Constraintlayout I'll add the background attribute and I'll create a new drawable shape, a resource
‫file, and I'll name it as gradient back.
‫Click enter and I'm going to paste this code that creates the shape for our background.
‫I'm using the gradient and I talked about gradients in Android and how to create custom shapes in the
‫drawable lesson using this color as start.
‫And this is the end color.
‫And the angle is for example 45, which is good.
‫Move to the main activity and select the background as drawable gradient back.
‫This is good and this is more professional.
‫Then let's move to the card item and here inside the card view use app card background color.
‫You can use Android Color Transparent.
‫I'll decrease the corner radius to two and the elevation to two dpi.
‫Let's run our application and see the changes.
‫And here we go.
‫It's better now you can see the card views are more pretty.
‫Let's enter a new record save.
‫And here we go.
‫This is our pretty application.
‫Congratulations guys for creating this amazing app.
‫And by the way it's a complex application using the mVVM and room database.