mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
20 lines
460 B
Markdown
20 lines
460 B
Markdown
---
|
|
nav-title: "absolute-layout How-To"
|
|
title: "absolute-layoyt"
|
|
description: "Examples for using absolute-layout"
|
|
---
|
|
# AbsoluteLayout
|
|
Using a AbsoluteLayout requires the AbsoluteLayout module.
|
|
<snippet id='absolute-layout-require'/>
|
|
|
|
``` XML
|
|
<Page>
|
|
<AbsoluteLayout>
|
|
<Label text="This is Label 1" left="30" top="70" />
|
|
</AbsoluteLayout>
|
|
</Page>
|
|
```
|
|
|
|
## Creating and populating a AbsoluteLayout with children
|
|
<snippet id='absolute-layout-populating'/>
|