Learn how to use the RelativeLayout to render controls relative to their parent control or to other controls on the page.
- [Instructor] Now that we've seen how a stack layout…can allow us to stack things vertically or horizontally,…let's look at a relative layout.…I'm actually gonna go inside my vertical stack layout.…We're gonna add a relative layout,…and we can still use some of those same options.…So, horizontally, we might wanna fill and expand,…and vertically, in this case, I want to just start,…I want it to be at the top of that particular bucket,…but I don't need it to stretch or expand in any way.…And inside of here, I'm gonna put a couple of buttons.…
Let's put one that's an order button.…And we'll put another one in there…that's gonna be my favorite button.…The order button will let me order one of these products.…The favorite button will let me favorite it…and add it into my favorites collection.…And you'll notice, in the previewer on the right,…those are just sitting on top of each other.…Now, it should be expected, we're saying…they're relative layouts, and we haven't really…provided any kind of information…about how they should be laid out.…
- Creating a Xamarin.Forms solution
- Navigating between pages
- Screen layouts and controls in Xamarin.Forms
- Data binding
- Adding style to a control
- Using a Xamarin.Essentials package
- Embedding native controls in your shared forms
- Writing custom renderers
Skill Level Beginner
Xamarin Development: Authentication and Identitywith Matt Milner1h 32m Intermediate
What you should know1m 21s
2. Layout and Controls
3. Native Platform Integration
4. Native Controls and Renderers
- 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.