Join David Gassner for an in-depth discussion in this video Using RelativeLayout containers, part of Android App Development Essential Training (2015).
- The RelativeLayout container is the other…most commonly used view group.…It lets you anchor objects to a container's edges…or to other objects within the container.…I'm using a project now called RelativeLayout,…and I've opened the content_main_layout file.…As before, I'll start by reformatting the code…so I can read it easily.…Notice in this file that the RelativeLayout…has padding settings for all four edges.…And they're all using the dimension resources,…which you can jump to by Control or Command clicking.…
And you will open the dimens.xml file.…If you were to change these values here,…you'd be changing not only this activity,…but any other layouts that are using these resources.…But, I'll leave them alone, and…come back to the content file.…I'm starting with the TextView control.…And I'm going to change the text that it's displaying…from "Hello World" to "First name:"…with a colon.…Now, I'm seeing a little bit of an error indicator.…And if I move the cursor over it,…I'll see a warning that I'm…hard-coding the string First name.…
Author
Released
12/23/2015- Installing and configuring Android Studio
- Creating virtual devices and connecting physical devices for testing
- Working with project files such as the app manifest and Gradle scripts
- Defining the user interface
- Modifying material design themes and styles
- Adding views
- Displaying messages
- Handling events and changes in screen orientation
- Displaying images
- Managing navigation with activities and layouts
- Supporting different screen sizes
- Working with data
Skill Level Beginner
Duration
Views
Related Courses
-
Android App Development: Internet of Things
with Michael Lehman2h 11m Intermediate
-
Introduction
-
Welcome1m 2s
-
Using the exercise files3m 39s
-
-
1. Android Development Fundamentals
-
Programming with Java4m 49s
-
Configure the Android SDK2m 27s
-
2. Getting Started
-
3. Working with Android Studio Projects
-
Manage Gradle build scripts5m 19s
-
Manage the app manifest file5m 51s
-
4. Define the User Interface
-
Create layout resource files6m 36s
-
Units of measurement6m 3s
-
-
5. Work with Events
-
6. Display Images
-
7. Work with Menus and the Action Bar
-
8. Manage Navigation
-
9. Support Multiple Screens
-
Android market fragmentation3m 40s
-
-
10. Work with Data
-
Customize list item displays10m 48s
-
Conclusion
-
Next steps1m 58s
-
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Using RelativeLayout containers