Learn how to use the OnPlatform class in Xamarin.Forms pages to provide OS-specific values for properties on the page's controls.
- [Instructor] As we've seen in the course of building…our application, everything's not gonna render…or work perfectly on all the platforms out of the box.…We should expect that there's going to be times…when you'll need to make small adjustments…based on the platform you're running on…and based on the type of device that you're running on.…This is especially true if we look…at some of the relative layouts and stack layouts…that we've been using.…One of the things I want to show you is…how to make those changes to your user interfaces,…and then we'll start looking at some other tools…that we can use to address those needs to write code…that runs on the native platform,…but still lets us leverage that shared library.…
One of the problems we saw at the end of our last example…was that the button for ordering on our product detail page…didn't quite look right on Android,…that's because our relative constraints look like they need…to be a little different on Android than on iOS.…If we go find our buttons here then,…
- 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.