From the course: Android Development Essential Training: 1 Your First App

Unlock the full course today

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

Solution: App template

Solution: App template - Android Tutorial

From the course: Android Development Essential Training: 1 Your First App

Start my 1-month free trial

Solution: App template

(upbeat music) - Welcome back. How'd it go? Were you able to recreate our challenge screen? Hopefully you had the chance to explore a few new widgets during the process. Here's the solution that I came up with. First, I used the empty app template as my basis. That's because we only needed to have one screen. Nothing fancy. This app template comes with one layout file, activity_main.XML. And it already contains half of what we need. A text view component inside of a constraint layout view group. When switching over to design mode, I was able to add in the missing views. From here, I clicked on each category until I came to the calendar view. So not in common, not in text, not in buttons, but then I found it in widgets. The calendar view is a view that comes as part of the Android SDK. It displays a calendar to users and allows them to select a specific date. To use it, I dragged and dropped it onto my layout file.…

Contents