Visual objects are represented in the SDK as View classes. Each screen typically has one or more View objects, and their positioning is controlled by a container known as a ViewGroup. Learn how to add View components to layouts.
- [Instructor] In Android, you build your screens…using widgets known as Views.…When you're looking at a layout file…in Design view as I am,…you'll see a Palette component over here.…The Palette offers a series of views…each having a different function.…For example the TextView which I'm already using…displays read-only text.…A Button is something that user can touch or click…to make something happen.…An ImageView displays an image.…A RecyclerView displays multiple components and so on.…
In Design view, you can drag these objects into place.…When you drop them in a particular location…it'll look like they're in a fixed location.…But in fact if you run the app…you'll see that the object will bounce back…to the top of the screen.…To solve that, you have to anchor the view.…Now, when you create a brand new application…in the most recent versions of Android Studio,…the root element of your layout…is called the ConstraintLayout.…This is a particular kind of view known as a ViewGroup.…
It's designed as a Container…that will manage the positioning of its child views.…
- Installing Android Studio
- Creating your first Android Studio project
- Managing configuration files, including Gradle scripts
- Defining screens with activities
- Implementing designs in XML layouts
Skill Level Beginner
Android Studio Essential Trainingwith David Gassner2h 28m Beginner
Android P First Look for Developerswith David Gassner36m 30s Beginner
What you should know2m 10s
1. Android Development Fundamentals
2. Getting Started
3. Explore Android Projects
4. Android App Architecture
Next steps1m 10s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.