diff --git a/apps/tests/ui/layouts/absolute-layout.md b/apps/tests/ui/layouts/absolute-layout.md
index e78c557d7..50a9ed977 100644
--- a/apps/tests/ui/layouts/absolute-layout.md
+++ b/apps/tests/ui/layouts/absolute-layout.md
@@ -1,12 +1,13 @@
---
nav-title: "absolute-layout How-To"
-title: "absolute-layoyt"
+title: "absolute-layout"
description: "Examples for using absolute-layout"
---
# AbsoluteLayout
-Using a AbsoluteLayout requires the AbsoluteLayout module.
+Using an AbsoluteLayout requires the AbsoluteLayout module.
+### Declaring an AbsoluteLayout
``` XML
diff --git a/apps/tests/ui/layouts/dock-layout.md b/apps/tests/ui/layouts/dock-layout.md
index 95ceee8a1..fe46dc420 100644
--- a/apps/tests/ui/layouts/dock-layout.md
+++ b/apps/tests/ui/layouts/dock-layout.md
@@ -7,7 +7,7 @@ description: "Examples for using dock-layout"
Using a DockLayout requires the DockLayout module.
-### Declaring a DockLayout.
+### Declaring a DockLayout
``` XML
diff --git a/apps/tests/ui/layouts/grid-layout.md b/apps/tests/ui/layouts/grid-layout.md
index 90b55863a..882af3db4 100644
--- a/apps/tests/ui/layouts/grid-layout.md
+++ b/apps/tests/ui/layouts/grid-layout.md
@@ -3,11 +3,11 @@ nav-title: "grid-layout How-To"
title: "grid-layout"
description: "Examples for using grid-layout"
---
-## GridLayout sample
-### Creating Grid Layout via code.
+# GridLayout
+Using a GridLayout requires the GridLayout module.
-### Create grid layout with an xml declaration
+### Declaring a GridLayout
``` XML
@@ -18,20 +18,20 @@ description: "Examples for using grid-layout"
```
-### Add views to grid layout
+## Add views to grid layout
-### Set column property on views - btn1 in first column, btn2 is second and btn3 in third
+## Set column property on views - btn1 in first column, btn2 is second and btn3 in third
-### Set row property on btn4.
+## Set row property on btn4.
-### Set columnSpan property on btn4 to stretch into all columns
+## Set columnSpan property on btn4 to stretch into all columns
-### Create ItemSpec for columns and rows 3 columns - 80px, *, auto size and 2 rows - 100px and auto size
+## Create ItemSpec for columns and rows 3 columns - 80px, *, auto size and 2 rows - 100px and auto size
-### Add columns and rows to GridLayout
+## Add columns and rows to GridLayout
diff --git a/apps/tests/ui/layouts/stack-layout-tests.ts b/apps/tests/ui/layouts/stack-layout-tests.ts
index 8a0be9256..17ea8eecd 100644
--- a/apps/tests/ui/layouts/stack-layout-tests.ts
+++ b/apps/tests/ui/layouts/stack-layout-tests.ts
@@ -161,9 +161,11 @@ export class StackLayoutTest extends testModule.UITest {
}
public test_codesnippets() {
+ // >> stack-layout-require
+ // var StackLayout = require("ui/layouts/stack-layout").StackLayout;
+ // << stack-layout-require
// >> stack-layout-new
- // var StackLayout = require("ui/layouts/stack-layout").StackLayout;
// >> (hide)
// var Button = require("ui/button").Button;
// << (hide)
diff --git a/apps/tests/ui/layouts/stack-layout.md b/apps/tests/ui/layouts/stack-layout.md
index 522ff65d9..b7063db16 100644
--- a/apps/tests/ui/layouts/stack-layout.md
+++ b/apps/tests/ui/layouts/stack-layout.md
@@ -3,12 +3,10 @@ nav-title: "stack-layout How-To"
title: "stack-layout"
description: "Examples for using stack-layout"
---
-### import StackLayout and Button classes
-var StackLayout = require("ui/layouts/stack-layout").StackLayout;
-var Button = require("ui/button").Button;
-### Create StackLayout
-
-
+# StackLayout
+Using a StackLayout requires the StackLayout module.
+
+
### Declaring a StackLayout.
``` XML
@@ -18,12 +16,15 @@ var Button = require("ui/button").Button;
```
-### Add child view to layout
+## Create StackLayout
+
+
+## Add child view to layout
-### Remove child view from layout
+## Remove child view from layout
-### Change layout orientation to Horizontal
+## Change layout orientation to Horizontal
diff --git a/apps/tests/ui/layouts/wrap-layout.md b/apps/tests/ui/layouts/wrap-layout.md
index c43fb2921..c136232f5 100644
--- a/apps/tests/ui/layouts/wrap-layout.md
+++ b/apps/tests/ui/layouts/wrap-layout.md
@@ -7,12 +7,6 @@ description: "Examples for using WrapLayout"
Using a WrapLayout requires the WrapLayout module.
-Other frequently used modules when working with a WrapLayout include:
-
-
-## Creating a WrapLayout
-
-
### Declaring a WrapLayout.
``` XML
@@ -25,5 +19,11 @@ Other frequently used modules when working with a WrapLayout include:
```
+Other frequently used modules when working with a WrapLayout include:
+
+
+## Creating a WrapLayout
+
+
## Setting the orientation of a wrap-layout.