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.

Solution: Get in line

Solution: Get in line - Android Tutorial

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

Start my 1-month free trial

Solution: Get in line

(upbeat music) - [Instructor] Welcome back. How'd it go? Were you able to recreate our challenge screen? Hopefully you had the chance to play with constraints and chains during the process. Let's take a look at the solution I came up with. Here in Android Studio, I started with the empty app template as my basis. That's because we only needed to have one screen. This app template comes with one layout file, activity_main. And that file already contains a textView component inside of a ConstraintLayout. Next, I came to design mode in order to add the missing views. From the pallet, I added three buttons to my layout. Now before we discussed how I positioned those, let's talk about the textView first. The first thing we needed to do here was update the textView to match what was in the challenge exercise. In the middle. We can do that from the attributes pane, and we'll scroll down to the text property. And we…

Contents