Change-Id: I81611b1de35d2f9a3e6789a6c5300658bfa01fda
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Window.Instance.GetDefaultLayer().Add(actor);
Animation animation = new Animation(1000);
- float targetValue = 0.5f;
+ float targetValue = 1.0f;
animation.AnimateTo(actor, "PositionX", targetValue, new AlphaFunction(AlphaFunction.BuiltinFunctions.Linear));
animation.Finished += (obj, e) =>
{
View actor = new View();
Window.Instance.GetDefaultLayer().Add(actor);
actor.WidthResizePolicy = ResizePolicyType.Fixed;
- actor.Size = new Size(100.0f, 0.0f, 0.0f);
+ actor.Size2D = new Size2D(100, 0);
await Task.Delay(20);
Assert.AreEqual(100.0f, actor.GetRelayoutSize(DimensionType.Width), "The GetRelayoutSize does not work here!");