From the course: .NET MAUI Essential Training

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Absolute layout

Absolute layout

- [Instructor] The layout type we want to look at is the absolute layout. I'm going to go open up my run interval page here. Put a space in the title just to clean it up. So it's a content page. I'm going to use the absolute layout. Now this is when you want kind of total control over where things are in your view. You don't want the view to manage them for you as much. So I'm going to put a few items in here. Let's do a button, let's say text equals start. Copy that, paste it. We'll do a label. That text will say is something like elapsed time. So we're going to show a timer on here and then I'm going to put a couple rectangles so let's go ahead and change this to stop. And then we'll put a couple rectangles in here. So rectangle, we'll do a background color. We'll just do black so we can see it. We'll do another one. And what I want to do is I want to create what looks like a clock. So I want to have two…

Contents