New Course: Beginning Android Layouts

Joe Howard

Beginning Android Layouts

It’s day 4 of the Android Avalanche: an event where we’ll be releasing new Android and Kotlin books, courses, and screencasts every day!

Today, we are releasing a brand new course: Beginning Android Layouts.

In this 29-video course by Joe Howard, you’ll learn how to use Android’s layout system to lay out the views in your app, regardless of devices size. Through a series of hands-on exercises and challenges, you’ll learn about the view hierarchy, basic layout types, the powerful ConstraintLayout, and using the design and XML editors in Android Studio.

Take a look at what’s inside:

Part 1: Introduction to Android Layouts

In part one, learn how view layout and the view hierarchy works in Android.

  1. Introduction: Find out what’s covered in our Beginning Android Layouts video tutorial series.

  2. Building the Starter App: Download the starter app and build it in Android Studio, and take a peek at the included starter layout files.

  3. ViewGroups and Layout Editors: Learn about the foundation of all Android layouts, the ViewGroup class, and explore the layout editors in Android Studio.

  4. The View Hierarchy: Be introduced to the concept of the view hierarchy, and begin your study of layouts by seeing how to define view widths and heights.

  5. Sizes, Margins, and Padding: Learn how to specify size units in Android, and use those size units to space views via margins and padding.

  6. Challenge: Padding: Practice adding padding to a view, through a hands-on challenge.

  7. Conclusion: Let’s review what you’ve covered in this first section, and discuss what’s next.

Part 2: Basic Layout Types

In the second part, learn how to use the basic layout types: RelativeLayout and LinearLayout.

  1. Introduction: Let’s review the basic layout types that you’ll learn about in this section.

  2. RelativeLayout: Learn about how to use the RelativeLayout ViewGroup to position sibling views with specific relationships to one another.

  3. Gravity and Cleanup: Learn how to align elements using the layout_gravity and gravity tags, and do some code and design cleanup.

  4. Challenge: Relative Layout: Practice creating a RelativeLayout, through a hands-on challenge.

  5. LinearLayout: Learn about how to use the LinearLayout ViewGroup to position views along a horizontal or vertical dimension.

  6. Layout Weights: Discover how to use layout_weight with LinearLayout, in order to divide the shared size between sibling views in a specific ratio.

  7. Challenge: LinearLayout: Practice creating a LinearLayout, through a hands-on challenge.

  8. FrameLayout: Learn about how to use the FrameLayout ViewGroup to create a layering of views, and how to switch between the layers.

  9. Challenge: FrameLayout: Practice creating an empty state using FrameLayout, through a hands-on challenge.

  10. Conclusion: Let’s review what you learned about the basic layout types, and discuss what’s next.

Part 3: ConstraintLayout

In part 3, learn how to use the complex but powerful ConstraintLayout.

  1. Introduction: Let’s review what you’ll be learning in this section by introducing ConstraintLayout and constraints.

  2. Converting to ConstraintLayout: Use the converter built-in to Android Studio to convert an existing layout to ConstraintLayout.

  3. Editing Controls: Create a new ConstrainLayout from scratch, utilizing the layout editor editing controls

  4. Challenge: Converting a Layout: Practice converting an existing layout to ConstraintLayout, through a hands-on challenge.

  5. Challenge: Hiding Empty Views: Practice programmatically hiding empty views in a ConstraintLayout, through a hands-on challenge.

  6. Conclusion: Let’s review what you’ve learned about ConstraintLayout, and discuss what’s next.

Part 4: Configuration Changes

In part 4, learn to use both the design editor and XML editor in Android Studio.

  1. Introduction: Let’s discuss why it’s important to handle both portrait mode and landscape mode device configurations.

  2. Resource Qualifiers: Learn about how resource qualifiers are used to handle different device densities and also for localization.

  3. Landscape Mode: See how to create a layout file tailored specifically for when the device is in the landscape orientation.

  4. Challenge: Landscape Mode: Practice creating a landscape mode layout, through a hands-on challenge.

  5. The Great Flattening: Remove all of the nested layouts in an existing layout to create a completely flat ConstraintLayout.

  6. Conclusion: In this final episode, you’ll get a summary of the course as well as see an overview of Android layout topics that were not covered.

The Android Avalanche Bundle

If you like this course, from now until March 30th you can get it along with the rest of our new Android and Kotlin books, courses, and screencasts — at a big discount!

Our new Android Avalanche Bundle includes:

  • Android Apprentice ($54.99 value): Gives you access to our new Android Apprentice book, which teaches you how to build four complete Android apps from scratch. PDF/ePub format.
  • Kotlin Apprentice ($54.99 value): Gives you access to our new Kotlin Apprentice book, which gives you a deep dive into the Kotlin programming language itself. PDF/ePub format.
  • A raywenderlich.com subscription ($19.99 value): Gives you access to all 8 of our new Android video courses, our 2 new Android screencasts, and access to any new courses and screencasts we release in the future.

The bundle price of $99.99 includes the first month of your subscription, which will continue at $19.99/month thereafter. You can cancel at any time and keep the books. This bundle gives you more than 20% off everything in the Android Avalanche!

The Android Avalanche bundle is only available for the next two weeks, so be sure to order your copy while you can.

Already a subscriber? As a subscriber, you already have access to this new course as part of your subscription. You can also enjoy a $20 discount on the bundle that will get you both books added to your collection. It’s our way of thanking you for supporting what we do here at raywenderlich.com.

Where To Go From Here?

If you want to learn Android and Kotlin development — or level up your existing skills – there’s no better way to learn than these new books, courses, and screencasts.

And this is only the beginning! We’re committed to creating more new books, courses, and screencasts on Android development, with the goal of covering Android and Kotlin in the same way that we’ve covered iOS and Swift over the years.

We truly appreciate your support in making this possible. We’re excited about this new chapter at raywenderlich.com. So order your copy of the Android Avalanche Bundle today before the deal is over!

Joe Howard

Joe’s path to software development began in the fields of computational physics and systems engineering. He has been a mobile software developer on iOS and Android since 2009. He now lives in Boston and is Android Team Lead for raywenderlich.com.

raywenderlich.com Weekly

Sign up to receive the latest tutorials from raywenderlich.com each week, and receive a free epic-length tutorial as a bonus!

Advertise with Us!

PragmaConf 2016 Come check out Alt U

Our Books

Our Team

Video Team

... 27 total!

iOS Team

... 79 total!

Android Team

... 38 total!

Unity Team

... 16 total!

Articles Team

... 4 total!

Resident Authors Team

... 30 total!

Podcast Team

... 7 total!

Recruitment Team

... 9 total!