HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
};
- Add(background);
+ Add(absoluteLayout);
var origin = new View()
{
BackgroundColor = Color.LightBlue,
};
AbsoluteLayout.SetLayoutBounds(origin, new UIRect(0, 0, 100, 100));
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
BackgroundColor = Color.Blue,
};
AbsoluteLayout.SetLayoutBounds(view, new UIRect(100, 100, 100, 100));
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
};
- Add(background);
+ Add(absoluteLayout);
var origin = new View()
{
Margin = 100,
};
AbsoluteLayout.SetLayoutBounds(origin, new UIRect(0, 0, 100, 100));
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
Margin = 100,
};
AbsoluteLayout.SetLayoutBounds(view, new UIRect(100, 100, 100, 100));
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Margin = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
- WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Margin = 100,
};
- Add(background);
+ AbsoluteLayout.SetLayoutBounds(absoluteLayout, new UIRect(0, 0, 1, 1));
+ AbsoluteLayout.SetLayoutFlags(absoluteLayout, AbsoluteLayoutFlags.All);
+ Add(absoluteLayout);
var origin = new View()
{
BackgroundColor = Color.LightBlue,
};
AbsoluteLayout.SetLayoutBounds(origin, new UIRect(0, 0, 100, 100));
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
BackgroundColor = Color.Blue,
};
AbsoluteLayout.SetLayoutBounds(view, new UIRect(100, 100, 100, 100));
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Margin = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
- WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Margin = 100,
};
- Add(background);
+ AbsoluteLayout.SetLayoutBounds(absoluteLayout, new UIRect(0, 0, 1, 1));
+ AbsoluteLayout.SetLayoutFlags(absoluteLayout, AbsoluteLayoutFlags.All);
+ Add(absoluteLayout);
var origin = new View()
{
Margin = 100,
};
AbsoluteLayout.SetLayoutBounds(origin, new UIRect(0, 0, 100, 100));
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
Margin = 100,
};
AbsoluteLayout.SetLayoutBounds(view, new UIRect(100, 100, 100, 100));
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Margin = 100;
- Padding = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
- WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Margin = 100,
+ Padding = 100,
};
- Add(background);
+ AbsoluteLayout.SetLayoutBounds(absoluteLayout, new UIRect(0, 0, 1, 1));
+ AbsoluteLayout.SetLayoutFlags(absoluteLayout, AbsoluteLayoutFlags.All);
+ Add(absoluteLayout);
var origin = new View()
{
BackgroundColor = Color.LightBlue,
};
AbsoluteLayout.SetLayoutBounds(origin, new UIRect(0, 0, 100, 100));
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
BackgroundColor = Color.Blue,
};
AbsoluteLayout.SetLayoutBounds(view, new UIRect(100, 100, 100, 100));
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Margin = 100;
- Padding = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
- WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Margin = 100,
+ Padding = 100,
};
- Add(background);
+ AbsoluteLayout.SetLayoutBounds(absoluteLayout, new UIRect(0, 0, 1, 1));
+ AbsoluteLayout.SetLayoutFlags(absoluteLayout, AbsoluteLayoutFlags.All);
+ Add(absoluteLayout);
var origin = new View()
{
Margin = 100,
};
AbsoluteLayout.SetLayoutBounds(origin, new UIRect(0, 0, 100, 100));
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
Margin = 100,
};
AbsoluteLayout.SetLayoutBounds(view, new UIRect(100, 100, 100, 100));
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Padding = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Padding = 100,
};
- Add(background);
+ Add(absoluteLayout);
var origin = new View()
{
BackgroundColor = Color.LightBlue,
};
AbsoluteLayout.SetLayoutBounds(origin, new UIRect(0, 0, 100, 100));
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
BackgroundColor = Color.Blue,
};
AbsoluteLayout.SetLayoutBounds(view, new UIRect(100, 100, 100, 100));
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Padding = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Padding = 100,
};
- Add(background);
+ Add(absoluteLayout);
var origin = new View()
{
Margin = 100,
};
AbsoluteLayout.SetLayoutBounds(origin, new UIRect(0, 0, 100, 100));
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
Margin = 100,
};
AbsoluteLayout.SetLayoutBounds(view, new UIRect(100, 100, 100, 100));
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
};
- Add(background);
+ Add(absoluteLayout);
var origin = new View()
{
BackgroundColor = Color.LightBlue,
};
AbsoluteLayout.SetLayoutBounds(origin, new UIRect(0, 0, 50, 50));
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
};
AbsoluteLayout.SetLayoutBounds(view, new UIRect(0, 0.5f, 1.0f, 0.5f));
AbsoluteLayout.SetLayoutFlags(view, AbsoluteLayoutFlags.All);
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
};
- Add(background);
+ Add(absoluteLayout);
var origin = new View()
{
Margin = 50,
};
AbsoluteLayout.SetLayoutBounds(origin, new UIRect(0, 0, 50, 50));
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
};
AbsoluteLayout.SetLayoutBounds(view, new UIRect(0, 0.5f, 1.0f, 0.5f));
AbsoluteLayout.SetLayoutFlags(view, AbsoluteLayoutFlags.All);
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Margin = 50;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
- WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Margin = 50,
};
- Add(background);
+ AbsoluteLayout.SetLayoutBounds(absoluteLayout, new UIRect(0, 0, 1, 1));
+ AbsoluteLayout.SetLayoutFlags(absoluteLayout, AbsoluteLayoutFlags.All);
+ Add(absoluteLayout);
var origin = new View()
{
BackgroundColor = Color.LightBlue,
};
AbsoluteLayout.SetLayoutBounds(origin, new UIRect(0, 0, 50, 50));
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
};
AbsoluteLayout.SetLayoutBounds(view, new UIRect(0, 0.5f, 1.0f, 0.5f));
AbsoluteLayout.SetLayoutFlags(view, AbsoluteLayoutFlags.All);
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Margin = 50;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
- WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Margin = 50,
};
- Add(background);
+ AbsoluteLayout.SetLayoutBounds(absoluteLayout, new UIRect(0, 0, 1, 1));
+ AbsoluteLayout.SetLayoutFlags(absoluteLayout, AbsoluteLayoutFlags.All);
+ Add(absoluteLayout);
var origin = new View()
{
Margin = 50
};
AbsoluteLayout.SetLayoutBounds(origin, new UIRect(0, 0, 50, 50));
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
};
AbsoluteLayout.SetLayoutBounds(view, new UIRect(0, 0.5f, 1.0f, 0.5f));
AbsoluteLayout.SetLayoutFlags(view, AbsoluteLayoutFlags.All);
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Margin = 50;
- Padding = 50;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
- WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Margin = 50,
+ Padding = 50,
};
- Add(background);
+ AbsoluteLayout.SetLayoutBounds(absoluteLayout, new UIRect(0, 0, 1, 1));
+ AbsoluteLayout.SetLayoutFlags(absoluteLayout, AbsoluteLayoutFlags.All);
+ Add(absoluteLayout);
var origin = new View()
{
BackgroundColor = Color.LightBlue,
};
AbsoluteLayout.SetLayoutBounds(origin, new UIRect(0, 0, 50, 50));
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
};
AbsoluteLayout.SetLayoutBounds(view, new UIRect(0, 0.5f, 1.0f, 0.5f));
AbsoluteLayout.SetLayoutFlags(view, AbsoluteLayoutFlags.All);
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Margin = 50;
- Padding = 50;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
- WidthSpecification = LayoutParamPolicies.MatchParent,
- HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Margin = 50,
+ Padding = 50,
};
- Add(background);
+ AbsoluteLayout.SetLayoutBounds(absoluteLayout, new UIRect(0, 0, 1, 1));
+ AbsoluteLayout.SetLayoutFlags(absoluteLayout, AbsoluteLayoutFlags.All);
+ Add(absoluteLayout);
var origin = new View()
{
Margin = 50,
};
AbsoluteLayout.SetLayoutBounds(origin, new UIRect(0, 0, 50, 50));
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
};
AbsoluteLayout.SetLayoutBounds(view, new UIRect(0, 0.5f, 1.0f, 0.5f));
AbsoluteLayout.SetLayoutFlags(view, AbsoluteLayoutFlags.All);
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Padding = 50;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Padding = 50,
};
- Add(background);
+ Add(absoluteLayout);
var origin = new View()
{
BackgroundColor = Color.LightBlue,
};
AbsoluteLayout.SetLayoutBounds(origin, new UIRect(0, 0, 50, 50));
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
};
AbsoluteLayout.SetLayoutBounds(view, new UIRect(0, 0.5f, 1.0f, 0.5f));
AbsoluteLayout.SetLayoutFlags(view, AbsoluteLayoutFlags.All);
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Padding = 50;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Padding = 50,
};
- Add(background);
+ Add(absoluteLayout);
var origin = new View()
{
Margin = 50,
};
AbsoluteLayout.SetLayoutBounds(origin, new UIRect(0, 0, 50, 50));
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
};
AbsoluteLayout.SetLayoutBounds(view, new UIRect(0, 0.5f, 1.0f, 0.5f));
AbsoluteLayout.SetLayoutFlags(view, AbsoluteLayoutFlags.All);
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
};
- Add(background);
+ Add(absoluteLayout);
var view = new View()
{
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.Blue,
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
};
- Add(background);
+ Add(absoluteLayout);
var view = new View()
{
BackgroundColor = Color.Blue,
Margin = 100,
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Margin = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Margin = 100,
};
- Add(background);
+ Add(absoluteLayout);
var view = new View()
{
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.Blue,
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Margin = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Margin = 100,
};
- Add(background);
+ Add(absoluteLayout);
var view = new View()
{
BackgroundColor = Color.Blue,
Margin = 100,
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Margin = 100;
- Padding = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Margin = 100,
+ Padding = 100,
};
- Add(background);
+ Add(absoluteLayout);
var view = new View()
{
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.Blue,
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Margin = 100;
- Padding = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Margin = 100,
+ Padding = 100,
};
- Add(background);
+ Add(absoluteLayout);
var view = new View()
{
BackgroundColor = Color.Blue,
Margin = 100,
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Padding = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Padding = 100,
};
- Add(background);
+ Add(absoluteLayout);
var view = new View()
{
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.Blue,
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Padding = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Padding = 100,
};
- Add(background);
+ Add(absoluteLayout);
var view = new View()
{
BackgroundColor = Color.Blue,
Margin = 100,
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
};
- Add(background);
+ Add(absoluteLayout);
var view = new View()
{
PivotPoint = new Position(1.0f, 1.0f),
ParentOrigin = new Position(1.0f, 1.0f),
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Margin = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Margin = 100,
};
- Add(background);
+ Add(absoluteLayout);
var view = new View()
{
PivotPoint = new Position(1.0f, 1.0f),
ParentOrigin = new Position(1.0f, 1.0f),
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Padding = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Padding = 100,
};
- Add(background);
+ Add(absoluteLayout);
var view = new View()
{
ParentOrigin = new Position(1.0f, 1.0f),
Margin = 100,
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
};
- Add(background);
+ Add(absoluteLayout);
var view = new View()
{
PivotPoint = new Position(0.5f, 0.5f),
ParentOrigin = new Position(0.5f, 0.5f),
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Margin = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Margin = 100,
};
- Add(background);
+ Add(absoluteLayout);
var view = new View()
{
PivotPoint = new Position(0.5f, 0.5f),
ParentOrigin = new Position(0.5f, 0.5f),
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Padding = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Padding = 100,
};
- Add(background);
+ Add(absoluteLayout);
var view = new View()
{
ParentOrigin = new Position(0.5f, 0.5f),
Margin = 100,
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
};
- Add(background);
+ Add(absoluteLayout);
var view = new View()
{
PivotPoint = new Position(0.0f, 0.0f),
ParentOrigin = new Position(0.0f, 0.0f),
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Margin = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Margin = 100,
};
- Add(background);
+ Add(absoluteLayout);
var view = new View()
{
PivotPoint = new Position(0.0f, 0.0f),
ParentOrigin = new Position(0.0f, 0.0f),
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Padding = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Padding = 100,
};
- Add(background);
+ Add(absoluteLayout);
var view = new View()
{
ParentOrigin = new Position(0.0f, 0.0f),
Margin = 100,
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
};
- Add(background);
+ Add(absoluteLayout);
var origin = new View()
{
HeightSpecification = 100,
BackgroundColor = Color.LightBlue,
};
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
Position = new Position(100, 100),
BackgroundColor = Color.Blue,
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
};
- Add(background);
+ Add(absoluteLayout);
var origin = new View()
{
BackgroundColor = Color.LightBlue,
Margin = 100,
};
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
BackgroundColor = Color.Blue,
Margin = 100,
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Margin = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Margin = 100,
};
- Add(background);
+ Add(absoluteLayout);
var origin = new View()
{
HeightSpecification = 100,
BackgroundColor = Color.LightBlue,
};
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
Position = new Position(100, 100),
BackgroundColor = Color.Blue,
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Margin = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Margin = 100,
};
- Add(background);
+ Add(absoluteLayout);
var origin = new View()
{
BackgroundColor = Color.LightBlue,
Margin = 100,
};
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
BackgroundColor = Color.Blue,
Margin = 100,
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Padding = 100;
- Margin = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Margin = 100,
+ Padding = 100,
};
- Add(background);
+ Add(absoluteLayout);
var origin = new View()
{
HeightSpecification = 100,
BackgroundColor = Color.LightBlue,
};
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
Position = new Position(100, 100),
BackgroundColor = Color.Blue,
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Padding = 100;
- Margin = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Margin = 100,
+ Padding = 100,
};
- Add(background);
+ Add(absoluteLayout);
var origin = new View()
{
BackgroundColor = Color.LightBlue,
Margin = 100,
};
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
BackgroundColor = Color.Blue,
Margin = 100,
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Padding = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Padding = 100,
};
- Add(background);
+ Add(absoluteLayout);
var origin = new View()
{
HeightSpecification = 100,
BackgroundColor = Color.LightBlue,
};
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
Position = new Position(100, 100),
BackgroundColor = Color.Blue,
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>
WidthSpecification = LayoutParamPolicies.MatchParent;
HeightSpecification = LayoutParamPolicies.MatchParent;
BackgroundColor = Color.Gray;
- Padding = 100;
- var background = new View()
+ var absoluteLayout = new View()
{
Layout = new AbsoluteLayout(),
WidthSpecification = LayoutParamPolicies.MatchParent,
HeightSpecification = LayoutParamPolicies.MatchParent,
BackgroundColor = Color.DarkGray,
+ Padding = 100,
};
- Add(background);
+ Add(absoluteLayout);
var origin = new View()
{
BackgroundColor = Color.LightBlue,
Margin = 100,
};
- Add(origin);
+ absoluteLayout.Add(origin);
var view = new View()
{
BackgroundColor = Color.Blue,
Margin = 100,
};
- Add(view);
+ absoluteLayout.Add(view);
var timer = new Tizen.NUI.Timer(1000);
timer.Tick += (o, e) =>