[NUI][TEST] sync from nui-dali/NUITizenGallery
authordongsug.song <dongsug.song@samsung.com>
Thu, 31 Mar 2022 08:45:53 +0000 (17:45 +0900)
committerJaehyun Cho <jaehyun0cho@gmail.com>
Wed, 20 Apr 2022 08:38:08 +0000 (17:38 +0900)
106 files changed:
test/NUITizenGallery/.vscode/launch.json
test/NUITizenGallery/Examples/AbsoluteLayoutTest/AbsoluteLayoutTestPage.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/ActivityIndicatorTest/ActivityIndicatorTestPage.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/AlertDialogTest/AlertDialogTestPage.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/AnimatedVectorImageViewTest/AnimatedVectorImageViewTest.cs [new file with mode: 0644]
test/NUITizenGallery/Examples/AnimatedVectorImageViewTest/AnimatedVectorImageViewTest.xaml [new file with mode: 0755]
test/NUITizenGallery/Examples/AnimatedVectorImageViewTest/AnimatedVectorImageViewTest.xaml.cs [new file with mode: 0644]
test/NUITizenGallery/Examples/BackgroundColorTest/BackgroundColorTest1Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/BackgroundColorTest/BackgroundColorTest2Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/BackgroundColorTest/BackgroundColorTest3Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/BackgroundColorTest/BackgroundColorTest4Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/BackgroundColorTest/BackgroundColorTest5Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/BackgroundTest/BackgroundTestPage.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/BindingTest/BindingTest1Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/BindingTest/BindingTest2Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/BoxViewTest/BoxViewTest1Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/BoxViewTest/BoxViewTest2Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/BoxViewTest/BoxViewTest3Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/BoxViewTest/BoxViewTest4Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/BrushTest/BrushBackgroundTestPage.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/BrushTest/BrushBorderTestPage.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/BrushTest/BrushComponentsTestPage.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/BrushTest/BrushImageTestPage.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/BrushTest/BrushViewerTestPage.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/ButtonTest/ButtonTest1Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/ButtonTest/ButtonTest1Page.xaml.cs [changed mode: 0644->0755]
test/NUITizenGallery/Examples/ButtonTest/ButtonTest2Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/ButtonTest/ButtonTest2Page.xaml.cs [changed mode: 0644->0755]
test/NUITizenGallery/Examples/CarouselTest/CarouselPageTest1Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/CarouselTest/CarouselViewFocusTestPage.xaml
test/NUITizenGallery/Examples/CarouselTest/CarouselViewItem.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/CarouselTest/CarouselViewTest1Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/CarouselTest/CarouselViewTest2Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/CarouselTest/CarouselViewTest4Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/CollectionViewTest/CollectionViewCustomItem.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/CollectionViewTest/CollectionViewCustomItem.xaml.cs [changed mode: 0644->0755]
test/NUITizenGallery/Examples/CollectionViewTest/CollectionViewCustomItemTestPage.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/CollectionViewTest/CollectionViewFooterTestPage.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/CollectionViewTest/CollectionViewObservableTestPage.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/CollectionViewTest/CollectionViewTest1Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/CollectionViewTest/CollectionViewTest2Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/CollectionViewTest/CollectionViewTest3Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/CollectionViewTest/CollectionViewTest4Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/CollectionViewTest/CollectionViewTest5Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/CollectionViewTest/CollectionViewTest6Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/CollectionViewTest/CollectionViewTest7Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/CollectionViewTest/CollectionViewTest8Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/CollectionViewTest/CollectionViewTest9Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/ContentPageTest/ContentPageTestPage1.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/ContentPageTest/ContentPageTestPage2.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/CustomCellTest/CustomCellListItem.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/CustomCellTest/CustomCellTestPage.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/EntryTest/EntryTest1Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/EntryTest/EntryTest2Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/EntryTest/EntryTest4Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/FrameLayoutTest/FrameLayoutTest1Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/FrameLayoutTest/FrameLayoutTest2Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/FrameTest/FrameTest1Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/GraphicsTypeTest/GraphicsTypeTest.cs
test/NUITizenGallery/Examples/GraphicsTypeTest/GraphicsTypeTestPage.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/GraphicsTypeTest/GraphicsTypeTestPage.xaml.cs
test/NUITizenGallery/Examples/HelloWorld/HelloWorldPage.xaml
test/NUITizenGallery/Examples/ImageButtonTest/ImageButtonTestPage.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/ImageButtonTest/ImageButtonTestPage.xaml.cs [changed mode: 0644->0755]
test/NUITizenGallery/Examples/IndicatorViewTest/IndicatorViewTest1Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/IndicatorViewTest/IndicatorViewTest2Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/IndicatorViewTest/IndicatorViewTest3Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/IndicatorViewTest/IndicatorViewTest4Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/KeyboardTest/KeyboardTest1Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/LabelTest/LabelTest1Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/LabelTest/LabelTest2Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/LabelTest/LabelTest3Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/LabelTest/LabelTest5Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/LayoutAddRemoveTest/LayoutAddRemoveTest1Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/LayoutAddRemoveTest/LayoutAddRemoveTest1Page.xaml.cs [changed mode: 0644->0755]
test/NUITizenGallery/Examples/LayoutAddRemoveTest/LayoutAddRemoveTest2Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/LinearLayoutTest/LinearLayoutTest1Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/LinearLayoutTest/LinearLayoutTest2Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/LinearLayoutTest/LinearLayoutTest3Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/LinearLayoutTest/LinearLayoutTest4Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/LinearLayoutTest/LinearLayoutTest5Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/LinearLayoutTest/LinearLayoutTest6Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/LinearLayoutTest/LinearLayoutTest8Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/MenuTest/MenuTestMenu.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/MenuTest/MenuTestMenu.xaml.cs [changed mode: 0755->0644]
test/NUITizenGallery/Examples/MenuTest/MenuTestPage.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/NavigatorTest/NavigatorTest1Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/NavigatorTest/NavigatorTest1Page.xaml.cs [changed mode: 0644->0755]
test/NUITizenGallery/Examples/NavigatorTest/NavigatorTest2Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/NavigatorTest/NavigatorTest2Page.xaml.cs [changed mode: 0644->0755]
test/NUITizenGallery/Examples/OpacityTest/OpacityTest1Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/PerformanceTest/ListItemTitle.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/PerformanceTest/ListItemTitleSwitch.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/PerformanceTest/ListItemTitleView.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/PerformanceTest/PerformanceTest1Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/PerformanceTest/PerformanceTest2Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/PerformanceTest/PerformanceTest3Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/ProgressbarTest/ProgressbarTest1Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/RecalculateTest/RecalculateTest1Page.xaml
test/NUITizenGallery/Examples/RefreshViewTest/RefreshViewTest1Page.xaml
test/NUITizenGallery/Examples/RotationTest/RotationTest1Page.xaml
test/NUITizenGallery/Examples/RotationTest/RotationTest1Page.xaml.cs
test/NUITizenGallery/Examples/ScaleTest/ScaleTest1Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/ScaleTest/ScaleTest2Page.xaml [changed mode: 0644->0755]
test/NUITizenGallery/Examples/ScrollViewTest/ScrollViewTest2Page.xaml.cs
test/NUITizenGallery/NUITizenGallery.cs [changed mode: 0644->0755]

index a948c4c..91e4677 100644 (file)
@@ -8,23 +8,6 @@
             "name": ".NET Core Launch (console)",
             "type": "coreclr",
             "request": "launch",
-            "WARNING01": "*********************************************************************************",
-            "WARNING02": "The C# extension was unable to automatically decode projects in the current",
-            "WARNING03": "workspace to create a runnable launch.json file. A template launch.json file has",
-            "WARNING04": "been created as a placeholder.",
-            "WARNING05": "",
-            "WARNING06": "If OmniSharp is currently unable to load your project, you can attempt to resolve",
-            "WARNING07": "this by restoring any missing project dependencies (example: run 'dotnet restore')",
-            "WARNING08": "and by fixing any reported errors from building the projects in your workspace.",
-            "WARNING09": "If this allows OmniSharp to now load your project then --",
-            "WARNING10": "  * Delete this file",
-            "WARNING11": "  * Open the Visual Studio Code command palette (View->Command Palette)",
-            "WARNING12": "  * run the command: '.NET: Generate Assets for Build and Debug'.",
-            "WARNING13": "",
-            "WARNING14": "If your project requires a more complex launch configuration, you may wish to delete",
-            "WARNING15": "this configuration and pick a different template using the 'Add Configuration...'",
-            "WARNING16": "button at the bottom of this file.",
-            "WARNING17": "*********************************************************************************",
             "preLaunchTask": "build",
             "program": "${workspaceFolder}/bin/Debug/netcoreapp3.1/NUITizenGallery.dll",
             "args": [],
@@ -36,7 +19,7 @@
                 "PKG_CONFIG_PATH":"${env:HOME}/dali-env/opt/lib/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig",
                 "DOTNET_CLI_TELEMETRY_OPTOUT":"1",
                 "DALI_WINDOW_WIDTH":"720",
-                "DALI_WINDOW_HEIGHT":"1080",
+                "DALI_WINDOW_HEIGHT":"800",
             },
             "cwd": "${workspaceFolder}",
             "console": "internalConsole",
old mode 100644 (file)
new mode 100755 (executable)
index b62d63f..5c935e7
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.AbsoluteLayoutTestPage"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index cecde8b..d331dae
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.ActivityIndicatorTestPage"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 80e6383..d07ffa2
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.AlertDialogTestPage"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
diff --git a/test/NUITizenGallery/Examples/AnimatedVectorImageViewTest/AnimatedVectorImageViewTest.cs b/test/NUITizenGallery/Examples/AnimatedVectorImageViewTest/AnimatedVectorImageViewTest.cs
new file mode 100644 (file)
index 0000000..52c6c97
--- /dev/null
@@ -0,0 +1,37 @@
+/*
+ * Copyright(c) 2021 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+using Tizen.NUI;
+using Tizen.NUI.Components;
+
+namespace NUITizenGallery
+{
+    internal class AnimatedVectorImageViewTest : IExample
+    {
+        Window window;
+
+        public void Activate()
+        {
+            window = NUIApplication.GetDefaultWindow();
+            window.GetDefaultNavigator().Push(new AnimatedVectorImageViewTestPage());
+        }
+        public void Deactivate()
+        {
+            window.GetDefaultNavigator().Pop();
+        }
+    }
+}
diff --git a/test/NUITizenGallery/Examples/AnimatedVectorImageViewTest/AnimatedVectorImageViewTest.xaml b/test/NUITizenGallery/Examples/AnimatedVectorImageViewTest/AnimatedVectorImageViewTest.xaml
new file mode 100755 (executable)
index 0000000..cd2ed3a
--- /dev/null
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<ContentPage x:Class="NUITizenGallery.AnimatedVectorImageViewTestPage"
+  xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
+  xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
+  WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
+  HeightSpecification="{Static LayoutParamPolicies.MatchParent}">
+
+    <!-- AppBar is top-side bar with navigation content, title, and action. If you not set any contents, back button is automatically added. -->
+    <ContentPage.AppBar>
+        <AppBar x:Name="appBar" Title="AnimatedVectorImageViewTestPage"/>
+    </ContentPage.AppBar>
+
+    <!-- Content is main placeholder of ContentPage. Add your content into this view. -->
+    <ContentPage.Content>
+        <View x:Name="ContentView"
+          WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
+          HeightSpecification="{Static LayoutParamPolicies.MatchParent}">
+
+            <Button x:Name="ChangeCurrFrameBtn"
+                      WidthSpecification="500"
+                      HeightSpecification="100"
+                      BackgroundColor="#52c7d9"
+                      PointSize="15"
+                      TextColor="#800080"
+                      Position2D="50, 40"
+                      Text="change current frame"
+                      Weight="0.12">
+            </Button>
+
+            <Button x:Name="GetCurrFrameBtn"
+                      WidthSpecification="500"
+                      HeightSpecification="100"
+                      BackgroundColor="#52c7d9"
+                      PointSize="15"
+                      TextColor="#800080"
+                      Text="get current frame"
+                      Position2D="600, 40"
+                      Weight="0.12">
+            </Button>
+
+            <Button x:Name="PlayBtn"
+                      WidthSpecification="500"
+                      HeightSpecification="100"
+                      BackgroundColor="#52c7d9"
+                      PointSize="15"
+                      TextColor="#800080"
+                      Text="play"
+                      Position2D="50, 150"
+                      Weight="0.12">
+            </Button>
+
+            <Button x:Name="StopBtn"
+                      WidthSpecification="500"
+                      HeightSpecification="100"
+                      BackgroundColor="#52c7d9"
+                      PointSize="15"
+                      TextColor="#800080"
+                      Text="stop"
+                      Position2D="600, 150"
+                      Weight="0.12">
+            </Button>
+
+            <Button x:Name="SetMinMaxBtn"
+                      WidthSpecification="500"
+                      HeightSpecification="100"
+                      BackgroundColor="#52c7d9"
+                      PointSize="15"
+                      TextColor="#800080"
+                      Text="SetMinAndMaxFrame"
+                      Position2D="1200, 150"
+                      Weight="0.12">
+            </Button>
+
+            <AnimatedVectorImageView x:Name="aviv" Position2D="300,300" ResourceUrl="*Resource*/images/cycle_animation.json" RepeatCount="-1"/>
+
+        </View>
+    </ContentPage.Content>
+
+</ContentPage>
diff --git a/test/NUITizenGallery/Examples/AnimatedVectorImageViewTest/AnimatedVectorImageViewTest.xaml.cs b/test/NUITizenGallery/Examples/AnimatedVectorImageViewTest/AnimatedVectorImageViewTest.xaml.cs
new file mode 100644 (file)
index 0000000..fb35a70
--- /dev/null
@@ -0,0 +1,123 @@
+/*
+ * Copyright(c) 2021 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+using Tizen.NUI;
+using Tizen.NUI.BaseComponents;
+using Tizen.NUI.Components;
+
+namespace NUITizenGallery
+{
+    using tlog = Tizen.Log;
+
+    public partial class AnimatedVectorImageViewTestPage : ContentPage
+    {
+        private const string tag = "NUITEST";
+        private int toggle, toggle2, toggle3;
+
+        public AnimatedVectorImageViewTestPage()
+        {
+            InitializeComponent();
+            tlog.Error(tag, $"aviv TotalFrame={aviv.TotalFrame}");
+            ChangeCurrFrameBtn.Clicked += ChangeCurrFrameBtnClicked;
+            PlayBtn.Clicked += PlayBtnClicked;
+            StopBtn.Clicked += StopBtnClicked;
+            GetCurrFrameBtn.Clicked += GetCurrFrameBtnClicked;
+            SetMinMaxBtn.Clicked += SetMinMaxBtnClicked;
+        }
+
+        private void SetMinMaxBtnClicked(object sender, ClickedEventArgs e)
+        {
+            string tmpText = "SetMinAndMaxFrame";
+            switch (++toggle3 % 3)
+            {
+                case 0:
+                    aviv.SetMinAndMaxFrame(-1, 1000);
+                    tmpText += $"(-1, 1000)";
+                    break;
+                case 1:
+                    aviv.SetMinAndMaxFrame(10, 50);
+                    tmpText += $"(10, 50)";
+                    break;
+                case 2:
+                    aviv.SetMinAndMaxFrame(51, 52);
+                    tmpText += $"(51, 52)";
+                    break;
+                default:
+                    break;
+            }
+            SetMinMaxBtn.Text = tmpText + $" CurrentFrame={aviv.CurrentFrame}";
+            tlog.Error(tag, $"case {toggle3}: aviv AnimationState={aviv.AnimationState} CurrentFrame={aviv.CurrentFrame}");
+        }
+
+        private void GetCurrFrameBtnClicked(object sender, ClickedEventArgs e)
+        {
+            GetCurrFrameBtn.Text = $"get current frame ({aviv.CurrentFrame})";
+            tlog.Error(tag, $"aviv AnimationState={aviv.AnimationState} CurrentFrame={aviv.CurrentFrame}");
+        }
+
+        private void PlayBtnClicked(object sender, ClickedEventArgs e)
+        {
+            aviv.Play();
+            PlayBtn.Text = $"play ({aviv.AnimationState}) curr frame={aviv.CurrentFrame}";
+        }
+
+        private void StopBtnClicked(object sender, ClickedEventArgs e)
+        {
+            string tmpText = "stop";
+            switch (++toggle2 % 3)
+            {
+                case 0:
+                    aviv.Stop(AnimatedVectorImageView.EndActions.Cancel);
+                    tmpText = $"stop ({aviv.AnimationState}) EndAction(Cancel)";
+                    break;
+                case 1:
+                    aviv.Stop(AnimatedVectorImageView.EndActions.Discard);
+                    tmpText = $"play/stop ({aviv.AnimationState}) EndAction(Discard)";
+                    break;
+                case 2:
+                    aviv.Stop(AnimatedVectorImageView.EndActions.StopFinal);
+                    tmpText = $"play/stop ({aviv.AnimationState}) EndAction(StopFinal)";
+                    break;
+                default:
+                    break;
+            }
+            StopBtn.Text = tmpText + $" curr frame={aviv.CurrentFrame}";
+            tlog.Error(tag, $"case {toggle2}: aviv AnimationState={aviv.AnimationState} CurrentFrame={aviv.CurrentFrame}");
+        }
+
+        private void ChangeCurrFrameBtnClicked(object sender, ClickedEventArgs e)
+        {
+            switch (++toggle % 3)
+            {
+                case 0:
+                    aviv.CurrentFrame = 0;
+                    tlog.Error(tag, $"case 0: aviv CurrentFrame={aviv.CurrentFrame}");
+                    break;
+                case 1:
+                    aviv.CurrentFrame = 5;
+                    tlog.Error(tag, $"case 1: aviv CurrentFrame={aviv.CurrentFrame}");
+                    break;
+                case 2:
+                    aviv.CurrentFrame = aviv.TotalFrame;
+                    tlog.Error(tag, $"case 2: aviv CurrentFrame={aviv.CurrentFrame}");
+                    break;
+                default:
+                    break;
+            }
+            ChangeCurrFrameBtn.Text = $"change current({aviv.CurrentFrame}) frame";
+        }
+    }
+}
old mode 100644 (file)
new mode 100755 (executable)
index 1e0dec4..4ac903b
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.BackgroundColorTest1Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 6eb0616..ab841b9
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.BackgroundColorTest2Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 2115c1a..50c3539
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.BackgroundColorTest3Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 0ce93e1..570865c
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.BackgroundColorTest4Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index a4eda8e..d6bb160
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.BackgroundColorTest5Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 49ecd16..5902f2c
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.BackgroundTestPage"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index ed2bfa9..41b2c13
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.BindingTest1Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:vm="clr-namespace:NUITizenGallery.ViewModels"
old mode 100644 (file)
new mode 100755 (executable)
index 847b88b..7dcbcaa
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.BindingTest2Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:vm="clr-namespace:NUITizenGallery.ViewModels"
old mode 100644 (file)
new mode 100755 (executable)
index 53c808c..1b06252
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.BoxViewTest1Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 8f44f8c..1baa99b
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.BoxViewTest2Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index ed1ef68..72ab4b4
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.BoxViewTest3Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index cb51eda..0bf35b1
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.BoxViewTest4Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index b52fbfa..a2866e3
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.BrushBackgroundTestPage"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 2c4f188..82a29ab
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.BrushBorderTestPage"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 0780692..c718ff7
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.BrushComponentsTestPage"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index a4407f6..bb3551e
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.BrushImageTestPage"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 91dcaf4..ec7c5ab
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.BrushViewerTestPage"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 1feaafb..b9d3367
@@ -34,9 +34,9 @@
                       PointSize="10"
                       TextColor="#ffffff"
                       Weight="0.12">
-                <Button.Icon>
+                <!--<Button.Icon>
                     <ImageView x:Name="imageview1" Size2D="60,60" />
-                </Button.Icon>
+                </Button.Icon>-->
             </Button>
 
             <Button x:Name="button3"
@@ -46,9 +46,9 @@
                       Text="Image and Text Button"
                       TextColor="#ffffff"
                       Weight="0.12">
-                <Button.Icon>
+                <!--<Button.Icon>
                     <ImageView x:Name="imageview2" Size2D="60,60" />
-                </Button.Icon>
+                </Button.Icon>-->
             </Button>
 
             <Button x:Name="button4"
@@ -58,9 +58,9 @@
                       Text="Color Change"
                       TextColor="#52c7d9"
                       Weight="0.12">
-                <Button.Icon>
+                <!--<Button.Icon>
                     <ImageView x:Name="imageview3" Size2D="60,60" />
-                </Button.Icon>
+                </Button.Icon>-->
             </Button>
 
             <Button x:Name="button5"
@@ -70,9 +70,9 @@
                       Text="Text Toggle"
                       TextColor="#ffffff"
                       Weight="0.12">
-                <Button.Icon>
+                <!--<Button.Icon>
                     <ImageView x:Name="imageview4" Size2D="60,60" />
-                </Button.Icon>
+                </Button.Icon>-->
             </Button>
 
             <Button x:Name="button6"
@@ -82,9 +82,9 @@
                       Text="Image Toggle"
                       TextColor="#ffffff"
                       Weight="0.12">
-                <Button.Icon>
+                <!--<Button.Icon>
                     <ImageView x:Name="imageview5" Size2D="60,60" />
-                </Button.Icon>
+                </Button.Icon>-->
             </Button>
 
             <Button x:Name="button7"
old mode 100644 (file)
new mode 100755 (executable)
index ed974e6..06e31d3
@@ -14,11 +14,16 @@ namespace NUITizenGallery
         public ButtonTest1Page()
         {
             InitializeComponent();
-            imageview1.ResourceUrl = ImageURL + "NUITizenGallery.png";
-            imageview2.ResourceUrl = ImageURL + "NUITizenGallery.png";
-            imageview3.ResourceUrl = ImageURL + "NUITizenGallery.png";
-            imageview4.ResourceUrl = ImageURL + "NUITizenGallery.png";
-            imageview5.ResourceUrl = ImageURL + "NUITizenGallery.png";
+            button2.Icon.Size2D = new Size2D(60, 60);
+            button2.Icon.ResourceUrl = ImageURL + "NUITizenGallery.png";
+            button3.Icon.Size2D = new Size2D(60, 60);
+            button3.Icon.ResourceUrl = ImageURL + "NUITizenGallery.png";
+            button4.Icon.Size2D = new Size2D(60, 60);
+            button4.Icon.ResourceUrl = ImageURL + "NUITizenGallery.png";
+            button5.Icon.Size2D = new Size2D(60, 60);
+            button5.Icon.ResourceUrl = ImageURL + "NUITizenGallery.png";
+            button6.Icon.Size2D = new Size2D(60, 60);
+            button6.Icon.ResourceUrl = ImageURL + "NUITizenGallery.png";
 
             button4.Clicked += (s, e) =>
             {
old mode 100644 (file)
new mode 100755 (executable)
index ffbaae9..924a4fc
@@ -28,9 +28,9 @@
                       Opacity="0.5"
                       PointSize="8">
 
-                <Button.Icon>
+                <!--<Button.Icon>
                     <ImageView x:Name="imageview1" Size2D="60,60" />
-                </Button.Icon>
+                </Button.Icon>-->
 
             </Button>
 
old mode 100644 (file)
new mode 100755 (executable)
index 21a27a1..c2c41b0
@@ -41,7 +41,8 @@ namespace NUITizenGallery
         public ButtonTest2Page()
         {
             InitializeComponent();
-            imageview1.ResourceUrl = ImageURL + "NUITizenGallery.png";
+            coloredButton.Icon.Size2D = new Size2D(60, 60);
+            coloredButton.Icon.ResourceUrl = ImageURL + "NUITizenGallery.png";
             coloredButton.Clicked += OnColoredButtonClicked;
             button3.Clicked += OnButton3Clicked;
         }
old mode 100644 (file)
new mode 100755 (executable)
index a36d0cf..c11db90
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.CarouselPageTest1Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
index c7d8097..ffed541 100755 (executable)
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.CarouselViewFocusTestPage"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index ab3dc73..68ea11a
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <View x:Class="NUITizenGallery.CarouselViewItem"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 0eda162..130f69a
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.CarouselViewTest1Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 70331ae..e554763
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.CarouselViewTest2Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 0cb3c4f..c8b0de9
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.CarouselViewTest4Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 614d12e..7fe9d0b
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <RecyclerViewItem x:Class="NUITizenGallery.CollectionViewCustomItem"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
@@ -28,8 +28,8 @@
         <TextLabel x:Name="MainLabel"
                      WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
                      HeightSpecification="{Static LayoutParamPolicies.WrapContent}"
-                     CellHorizontalAlignment="Left"
-                     CellVerticalAlignment="Center"
+                     HorizontalAlignment="Begin"
+                     VerticalAlignment="Center"
                      Text="{Binding Name}"/>
 
         <CheckBox x:Name="Checkbox"
@@ -45,8 +45,8 @@
             </View.Layout>
 
             <TextLabel x:Name="IndexLebel"
-                         CellVerticalAlignment="Center"
-                         CellHorizontalAlignment="Center"
+                         VerticalAlignment="Center"
+                         HorizontalAlignment="Center"
                          Text="{Binding Index}"
                          TextColor="{Binding BgColor}"/>
             <ImageView x:Name="SubIcon"
old mode 100644 (file)
new mode 100755 (executable)
index 77259a2..476c637
@@ -38,9 +38,9 @@ namespace NUITizenGallery
 
         public CollectionViewCustomItem()
         {
-            Tizen.Log.Error("NUI", "Custom Item Created");
+            Tizen.Log.Info("NUI", "Custom Item Created");
             InitializeComponent();
-            Tizen.Log.Error("NUI", "Custom Item Initalzied");
+            Tizen.Log.Info("NUI", "Custom Item Initalzied");
             Clicked+=OnClicked;
         }
     }
old mode 100644 (file)
new mode 100755 (executable)
index 8d5303e..f63e36e
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.CollectionViewCustomItemTestPage"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 6e0e8b4..d739e51
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.CollectionViewFooterTestPage"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index ac89589..d508b98
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.CollectionViewObservableTestPage"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 5cb4d95..9f2ffae
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.CollectionViewTest1Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 64151e2..181564b
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.CollectionViewTest2Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 11bd8b4..25de203
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.CollectionViewTest3Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index b7bd852..764bdff
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.CollectionViewTest4Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 9387c41..8c1d793
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.CollectionViewTest5Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 6b2afbb..f8b28cc
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.CollectionViewTest6Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index e950e3b..d4c71cb
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.CollectionViewTest7Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index fcf67fb..41aedf4
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.CollectionViewTest8Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 022d0c0..42d4aa5
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.CollectionViewTest9Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index a5942a2..6c1e9e1
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.ContentPageTestPage1"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 6e638fa..2257ae4
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.ContentPageTestPage2"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index faac0b9..539e8cb
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <View x:Class="NUITizenGallery.CustomCellListItem"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 85286b6..c23d843
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.CustomCellTestPage"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 53dbcbc..e00f042
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.EntryTest1Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 38d40e7..c387413
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.EntryTest2Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 48d305d..acc535e
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.EntryTest4Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index c13cc6b..01448f9
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.FrameLayoutTest1Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 676f520..bc2cff7
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.FrameLayoutTest2Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index b04523b..5a098c6
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.FrameTest1Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
index 9b5b19d..3d296f9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright(c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright(c) 2021 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
old mode 100644 (file)
new mode 100755 (executable)
index 2ccccc8..7e25bbb
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.GraphicsTypeTestPage"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
               HeightSpecification="500"
               BackgroundColor="#D3D6DD">
 
-                <TextLabel Text="This View is pixel based view." PointSize="12" Position2D="73,130"/>
+                <TextLabel Text="Pixels" PointSize="12" Position2D="73,130"/>
                 <View BackgroundColor="#FF0000" Position2D="32,108" Size2D="400,5"/>
                 <View BackgroundColor="#00FF00" Position2D="32,120" Size="400,5"/>
                 <View BackgroundColor="#0000FF" Position="42,100" Size2D="5,100"/>
                 <View BackgroundColor="#FF00FF" Position="54,100" Size="5,100"/>
                 <View x:Name="PixelRect" BackgroundColor="#FFFFFF"/>
                 <TextLabel x:Name="PixelText" PixelSize="20"/>
-                <TextLabel x:Name="PointText" PointSize="20"/>
             </View>
 
             <View x:Name="DpTypeView"
               HeightSpecification="500dp"
               BackgroundColor="#96D3DE">
 
-                <TextLabel Text="This View is Dp based view." PointSize="12dp" Position2D="73dp,130dp"/>
+                <TextLabel Text="DP" PointSize="12dp" Position2D="73dp,130dp"/>
                 <View BackgroundColor="#FF0000" Position2D="32dp,108dp" Size2D="400dp,5dp"/>
                 <View BackgroundColor="#00FF00" Position2D="32dp,120dp" Size="400dp,5dp"/>
                 <View BackgroundColor="#0000FF" Position="42dp,100dp" Size2D="5dp,100dp"/>
                 <View BackgroundColor="#FF00FF" Position="54dp,100dp" Size="5dp,100dp"/>
                 <View x:Name="DpRect" BackgroundColor="#FFFFFF"/>
-                <TextLabel x:Name="DpPixelText" PixelSize="20dp"/>
-                <TextLabel x:Name="DpPointText" PointSize="20dp"/>
+                <TextLabel x:Name="DpText" PixelSize="20"/>
             </View>
 
             <View x:Name="SpTypeView"
               HeightSpecification="500sp"
               BackgroundColor="#B2DAB8">
 
-                <TextLabel Text="This View is Sp based view." PointSize="12sp" Position2D="73sp,130sp"/>
+                <TextLabel Text="SP" PointSize="12sp" Position2D="73sp,130sp"/>
                 <View BackgroundColor="#FF0000" Position2D="32sp,108sp" Size2D="400sp,5sp"/>
                 <View BackgroundColor="#00FF00" Position2D="32sp,120sp" Size="400sp,5sp"/>
                 <View BackgroundColor="#0000FF" Position="42sp,100sp" Size2D="5sp,100sp"/>
                 <View x:Name="SpRect" BackgroundColor="#FFFFFF"/>
-                <TextLabel x:Name="SpPixelText" PixelSize="20sp"/>
-                <TextLabel x:Name="SpPointText" PointSize="20sp"/>
+                <TextLabel x:Name="SpText" PixelSize="20"/>
             </View>
         </ScrollableBase>
     </ContentPage.Content>
index ae739c5..8447b25 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright(c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright(c) 2021 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -34,38 +34,25 @@ namespace NUITizenGallery
             PixelRect.Size = new Size(300f, 100f);
             PixelText.Position2D = new Position2D(100, 310);
             PixelText.WidthSpecification = 300;
-            PixelText.HeightSpecification = 90;
-            PixelText.Text = "Pixel size 20";
-            PixelText.PixelSize = 20f;
-            PointText.Position2D = new Position2D(100, 410);
-            PointText.WidthSpecification = 300;
-            PointText.HeightSpecification = 90;
-            PointText.Text = "Point size 20";
-            PointText.PointSize = 20f;
+            PixelText.HeightSpecification = 100;
+            PixelText.Text = "Pixel size 100";
+            PixelText.PointSize = 20f;
 
             DpRect.Position = new Position(100f, 200f).DpToPx();
             DpRect.Size = new Size(300f, 100f).DpToPx();
-            DpPixelText.Position2D = new Position2D(100, 310).DpToPx();
-            DpPixelText.WidthSpecification = 300.DpToPx();
-            DpPixelText.HeightSpecification = 90.DpToPx();
-            DpPixelText.Text = $"Dp Pixel Size {20f.DpToPx()}";
-            DpPixelText.PixelSize = 20f.DpToPx();
-            DpPointText.Position2D = new Position2D(100, 410).DpToPx();
-            DpPointText.WidthSpecification = 300.DpToPx();
-            DpPointText.HeightSpecification = 90.DpToPx();
-            DpPointText.Text = $"Dp Point Size {20f.DpToPt()}";
+            DpText.Position2D = new Position2D(100, 310).DpToPx();
+            DpText.WidthSpecification = 300.DpToPx();
+            DpText.HeightSpecification = 100.DpToPx();
+            DpText.Text = $"Dp size {100f.DpToPx()}";
+            DpText.PointSize = 20f.DpToPt();
 
             SpRect.Position = new Position(100f, 200f).SpToPx();
             SpRect.Size = new Size(300f, 100f).SpToPx();
-            SpPixelText.Position2D = new Position2D(100, 310).SpToPx();
-            SpPixelText.WidthSpecification = 300.SpToPx();
-            SpPixelText.HeightSpecification = 90.SpToPx();
-            SpPixelText.Text = $"Sp Pixel Size {20f.SpToPx()}";
-            SpPointText.Position2D = new Position2D(100, 410).SpToPx();
-            SpPointText.WidthSpecification = 300.SpToPx();
-            SpPointText.HeightSpecification = 90.SpToPx();
-            SpPointText.Text = $"Sp Point Size {20f.SpToPt()}";
-            SpPointText.PointSize = 20f.SpToPt();
+            SpText.Position2D = new Position2D(100, 310).SpToPx();
+            SpText.WidthSpecification = 300.SpToPx();
+            SpText.HeightSpecification = 100.SpToPx();
+            SpText.Text = $"Sp size {100f.SpToPx()}";
+            SpText.PointSize = 20f.SpToPt();
         }
     }
 }
index 94db806..d57d415 100644 (file)
@@ -14,9 +14,6 @@
     <ContentPage.Content>
         <TextLabel x:Name="test1PageText"
                      Text="Hello NUI XAML !"
-                     PositionUsesPivotPoint="True"
-                     ParentOrigin="Center"
-                     PivotPoint="Center"
                      WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
                      HeightSpecification="{Static LayoutParamPolicies.MatchParent}"
                      HorizontalAlignment="Center"
old mode 100644 (file)
new mode 100755 (executable)
index efbe09e..192860c
@@ -26,9 +26,6 @@
                       TextColor="#ffffff"
                       WidthSpecification="{Static LayoutParamPolicies.WrapContent}"
                       HeightSpecification="{Static LayoutParamPolicies.WrapContent}" >
-                <Button.Icon>
-                    <ImageView x:Name="imageview1" Size2D="300, 300" />
-                </Button.Icon>
             </Button>
             <TextLabel x:Name="text1"
                          Text="ImageButton Status"
old mode 100644 (file)
new mode 100755 (executable)
index 866c2f2..105f02a
@@ -10,7 +10,8 @@ namespace NUITizenGallery
         public ImageButtonTestPage()
         {
             InitializeComponent();
-            imageview1.ResourceUrl = ImageURL + "NUITizenGallery.png";
+            button1.Icon.ResourceUrl = ImageURL + "NUITizenGallery.png";
+            button1.Icon.Size2D = new Tizen.NUI.Size2D(300, 300);
 
             button1.ControlStateChangedEvent += (o, e) =>
             {
old mode 100644 (file)
new mode 100755 (executable)
index 591d225..11f26d5
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.IndicatorViewTest1Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 3273e58..58fd0c0
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.IndicatorViewTest2Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index f927cee..c9beb1e
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.IndicatorViewTest3Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 2a01820..ac5a310
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.IndicatorViewTest4Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 78e921b..0b1567b
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.KeyboardTest1Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 4313697..9123e37
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.LabelTest1Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 8ff66b5..1041b4d
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.LabelTest2Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 5d82ad3..710da10
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.LabelTest3Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
@@ -26,7 +26,7 @@
                     <LinearLayout LinearOrientation="Horizontal" LinearAlignment="Begin"/>
                 </View.Layout>
                 <TextLabel Text="LeftAligned"
-                        CellHorizontalAlignment="Left"
+                        HorizontalAlignment="Begin"
                         BackgroundColor="#00ffff"/>
             </View>
             <View WidthSpecification="{Static LayoutParamPolicies.MatchParent}" >
@@ -34,7 +34,7 @@
                     <LinearLayout LinearOrientation="Horizontal" LinearAlignment="Center"/>
                 </View.Layout>
                 <TextLabel Text="CenterAligned"
-                           CellHorizontalAlignment="Center"
+                           HorizontalAlignment="Center"
                            BackgroundColor="#00ffff"/>
             </View>
             <View WidthSpecification="{Static LayoutParamPolicies.MatchParent}" >
@@ -42,7 +42,7 @@
                     <LinearLayout LinearOrientation="Horizontal" LinearAlignment="End"/>
                 </View.Layout>
                 <TextLabel Text="RightAligned"
-                           CellHorizontalAlignment="Right"
+                           HorizontalAlignment="End"
                            BackgroundColor="#00ffff"/>
             </View>
             <TextLabel WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
old mode 100644 (file)
new mode 100755 (executable)
index 2057a47..9cc1f75
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.LabelTest5Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index f2fb8d4..6732c23
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.LayoutAddRemoveTest1Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:base="clr-namespace:Tizen.NUI.BaseComponents;assembly=Tizen.NUI"
@@ -7,13 +7,12 @@
   HeightSpecification="{Static LayoutParamPolicies.MatchParent}">
 
     <ContentPage.AppBar>
-        <AppBar Title="LayoutAddRemoveTest1"/>
+        <AppBar x:Name="appBar" Title="LayoutAddRemoveTest1"/>
     </ContentPage.AppBar>
-
+    
     <ContentPage.Content>
         <ScrollableBase x:Name="rootView"
-          WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
-          HeightSpecification="{Static LayoutParamPolicies.MatchParent}">
+          WidthSpecification="{Static LayoutParamPolicies.MatchParent}" >
 
             <View.Layout>
                 <LinearLayout LinearOrientation="Vertical" CellPadding="10,10"/>
old mode 100644 (file)
new mode 100755 (executable)
index e35984c..9221bb8
@@ -26,6 +26,8 @@ namespace NUITizenGallery
         public LayoutAddRemoveTest1Page()
         {
             InitializeComponent();
+            rootView.SizeHeight = Window.Instance.WindowSize.Height - appBar.SizeHeight;
+
             addButton.Clicked += OnAddButtonClicked;
             removeButton.Clicked += OnRemoveButtonClicked;
         }
old mode 100644 (file)
new mode 100755 (executable)
index c37a71f..2c13654
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.LayoutAddRemoveTest2Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 7881b7b..a1adaff
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.LinearLayoutTest1Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 3ac8aca..2cdad81
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.LinearLayoutTest2Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 9272431..bb6ae20
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.LinearLayoutTest3Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index d38805c..7428733
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.LinearLayoutTest4Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 3a1fb30..f728e76
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.LinearLayoutTest5Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index b829a88..6c7c9a5
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.LinearLayoutTest6Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 41dfc51..103cbad
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.LinearLayoutTest8Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index b26bac5..488d01b
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <Menu x:Class="NUITizenGallery.MenuTestMenu"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
old mode 100755 (executable)
new mode 100644 (file)
index 8859a0e..40a2fd8
@@ -27,11 +27,12 @@ namespace NUITizenGallery
             InitializeComponent();
 
             // FIXME: For now, menuItem1, 2, 3, 4 handles are not found by FindByName.
-
+            /*
             menuItem1.Clicked += MenuItem1Clicked;
             menuItem2.Clicked += MenuItem2Clicked;
             menuItem3.Clicked += MenuItem3Clicked;
             menuItem4.Clicked += MenuItem4Clicked;
+            */
         }
 
         private void MenuItem1Clicked(object sender, ClickedEventArgs args)
old mode 100644 (file)
new mode 100755 (executable)
index 1367da7..3fa0e01
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.MenuTestPage"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 1366c66..adb2428
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.NavigatorTest1Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
@@ -13,8 +13,7 @@
     <!-- Content is main placeholder of ContentPage. Add your content into this view. -->
     <ContentPage.Content>
         <View x:Name="ContentView"
-          WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
-          HeightSpecification="{Static LayoutParamPolicies.MatchParent}">
+          WidthSpecification="{Static LayoutParamPolicies.MatchParent}">
 
             <View.Layout>
                 <LinearLayout LinearOrientation="Vertical" CellPadding="0, 10"/>
old mode 100644 (file)
new mode 100755 (executable)
index 6c9da21..cafb3a5
@@ -24,6 +24,7 @@ namespace NUITizenGallery
         public NavigatorTest1Page()
         {
             InitializeComponent();
+            ContentView.SizeHeight = Window.Instance.WindowSize.Height - appBar.SizeHeight;
         }
 
         private void SetButtonColor(NavigatorTest1Page page, int type)
old mode 100644 (file)
new mode 100755 (executable)
index 83cc234..a0d370b
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.NavigatorTest2Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
@@ -13,8 +13,7 @@
     <!-- Content is main placeholder of ContentPage. Add your content into this view. -->
     <ContentPage.Content>
         <View x:Name="ContentView"
-          WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
-          HeightSpecification="{Static LayoutParamPolicies.MatchParent}">
+          WidthSpecification="{Static LayoutParamPolicies.MatchParent}">
 
             <View.Layout>
                 <LinearLayout LinearOrientation="Vertical" CellPadding="0, 10"/>
old mode 100644 (file)
new mode 100755 (executable)
index e3c5843..60040c2
@@ -24,6 +24,7 @@ namespace NUITizenGallery
         public NavigatorTest2Page()
         {
             InitializeComponent();
+            ContentView.SizeHeight = Window.Instance.WindowSize.Height - appBar.SizeHeight;
         }
 
         private void SetButtonColor(NavigatorTest2Page page, int type)
old mode 100644 (file)
new mode 100755 (executable)
index f737664..2a23b7f
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.OpacityTest1Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 6b3c1db..516ace3
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <View x:Class="NUITizenGallery.ListItemTitle"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 89044f2..0142fac
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <View x:Class="NUITizenGallery.ListItemTitleSwitch"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 5234df6..bb130fd
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <View x:Class="NUITizenGallery.ListItemTitleView"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 57d81b9..2794135
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.PerformanceTest1Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 31cf123..0e2dba8
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.PerformanceTest2Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 7c53aee..1b5fde5
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.PerformanceTest3Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 09fb498..09c9235
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.ProgressbarTest1Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
index 36fba2e..ffdb28b 100755 (executable)
                     <LinearLayout LinearOrientation="Vertical" LinearAlignment="CenterHorizontal" CellPadding="10, 10"/>
                 </View.Layout>
 
-                <TextLabel Text="abc1" CellHorizontalAlignment="Center"/>
-                <TextLabel Text="abc2" CellHorizontalAlignment="Center"/>
-                <TextLabel Text="abc3" CellHorizontalAlignment="Center"/>
-                <TextLabel Text="abc4" CellHorizontalAlignment="Center"/>
-                <TextLabel Text="abc5" CellHorizontalAlignment="Center"/>
-                <TextLabel Text="abc6" CellHorizontalAlignment="Center"/>
-                <TextLabel Text="abc7" CellHorizontalAlignment="Center"/>
-                <TextLabel Text="abc8" CellHorizontalAlignment="Center"/>
-                <TextLabel Text="abc9" CellHorizontalAlignment="Center"/>
-                <TextLabel Text="abc0" CellHorizontalAlignment="Center"/>
+                <TextLabel Text="abc1" HorizontalAlignment="Center"/>
+                <TextLabel Text="abc2" HorizontalAlignment="Center"/>
+                <TextLabel Text="abc3" HorizontalAlignment="Center"/>
+                <TextLabel Text="abc4" HorizontalAlignment="Center"/>
+                <TextLabel Text="abc5" HorizontalAlignment="Center"/>
+                <TextLabel Text="abc6" HorizontalAlignment="Center"/>
+                <TextLabel Text="abc7" HorizontalAlignment="Center"/>
+                <TextLabel Text="abc8" HorizontalAlignment="Center"/>
+                <TextLabel Text="abc9" HorizontalAlignment="Center"/>
+                <TextLabel Text="abc0" HorizontalAlignment="Center"/>
             </View>
             <Button x:Name="btn1"
                       Text="clear"
                       WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
-                      CellHorizontalAlignment="Center"/>
+                      TextAlignment="Center"/>
         </View>
     </ContentPage.Content>
 </ContentPage>
index 6d8db07..9769544 100755 (executable)
@@ -22,7 +22,7 @@
 
                        <Button x:Name="btn1" Text="Change"
                                  WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
-                                 HeightSpecification="100" CellHorizontalAlignment="Left"/>
+                                 HeightSpecification="100" TextAlignment="Begin"/>
                        <View x:Name="lblView">
                                <ScrollableBase x:Name="Scroller" ScrollingDirection="Vertical" HideScrollbar="false" >
 
index 7252f83..2fc1821 100755 (executable)
     <!-- Content is main placeholder of ContentPage. Add your content into this view. -->
     <ContentPage.Content>
         <View x:Name="ContentView"
-          WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
-          HeightSpecification="{Static LayoutParamPolicies.MatchParent}">
+          WidthSpecification="{Static LayoutParamPolicies.MatchParent}">
 
             <View.Layout>
                 <LinearLayout LinearOrientation="Vertical" LinearAlignment="Center" CellPadding="10, 10"/>
             </View.Layout>
 
             <Button x:Name="btn"
-                      Size2D="600, 100"
+                      Size2D="600, 90"
                       Text="WOW!!"
-                      CellHorizontalAlignment="Center"
-                      CellVerticalAlignment="Center"/>
+                      TextAlignment="Center" />
             <View x:Name="rect"
-                    Size2D="600, 100"
+                    Size2D="600, 90"
                     BackgroundColor="Blue"
                     CellHorizontalAlignment="Center"
                     CellVerticalAlignment="Center" />
             <ImageView x:Name="img"
+                         SizeHeight="300"
                          CellHorizontalAlignment="Center"
                          CellVerticalAlignment="Center"/>
             <TextLabel x:Name="label"
                          Text="Rotation"
-                         CellHorizontalAlignment="Center"
-                         CellVerticalAlignment="Center"/>
+                         HorizontalAlignment="Center"
+                         VerticalAlignment="Center"/>
             <TextLabel Text="X:"/>
             <Slider x:Name="sliderX"
-                      Size2D="600, 50"
+                      Size2D="600, 40"
                       MinValue="0"
                       MaxValue="180"
                       BgTrackColor="#b1b1b1"
@@ -47,7 +46,7 @@
                       TrackThickness="5" />
             <TextLabel Text="Y:"/>
             <Slider x:Name="sliderY"
-                      Size2D="600, 50"
+                      Size2D="600, 40"
                       MinValue="0"
                       MaxValue="180"
                       BgTrackColor="#b1b1b1"
@@ -55,7 +54,7 @@
                       TrackThickness="5"/>
             <TextLabel Text="Z:"/>
             <Slider x:Name="sliderZ"
-                      Size2D="600, 50"
+                      Size2D="600, 40"
                       MinValue="0"
                       MaxValue="180"
                       BgTrackColor="#b1b1b1"
index 315f578..88fb2fb 100755 (executable)
@@ -27,6 +27,7 @@ namespace NUITizenGallery
         public RotationTest1Page()
         {
             InitializeComponent();
+            ContentView.SizeHeight = Window.Instance.WindowSize.Height - appBar.SizeHeight;
             img.SetImage(ResourcePath + "a.jpg");
 
             int count = 0;
old mode 100644 (file)
new mode 100755 (executable)
index 28a37a1..1c0d7a6
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.ScaleTest1Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
old mode 100644 (file)
new mode 100755 (executable)
index 4407659..a5e2d70
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 <ContentPage x:Class="NUITizenGallery.ScaleTest2Page"
   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
index 7e5fec9..ddc5ad7 100755 (executable)
@@ -29,7 +29,7 @@ namespace NUITizenGallery
             Button btn = new Button
             {
                 Size2D = new Size2D(230, NUIApplication.GetDefaultWindow().WindowSize.Height),
-                BackgroundColor = new Color(0.0f, 0.0f, 1.0f, 255),
+                BackgroundColor = new Color(0.0f, 0.0f, 1.0f, 1.0f),
                 Text = "Test ScrollTo"
             };
             Scroller.Add(btn);
@@ -37,13 +37,13 @@ namespace NUITizenGallery
             Random rand = new Random();
             for (int i = 0; i <= 60; ++i)
             {
-                float r = (float)rand.NextDouble();
-                float g = (float)rand.NextDouble();
-                float b = (float)rand.NextDouble();
+                float r = (float)rand.NextDouble() / 255f;
+                float g = (float)rand.NextDouble() / 255f;
+                float b = (float)rand.NextDouble() / 255f;
                 var t = new View
                 {
                     Size2D = new Size2D(230, NUIApplication.GetDefaultWindow().WindowSize.Height),
-                    BackgroundColor = new Color(r, g, b, 255),
+                    BackgroundColor = new Color(r, g, b, 1.0f),
                 };
                 Scroller.Add(t);
             }
old mode 100644 (file)
new mode 100755 (executable)
index bc11e30..b9ddae8
@@ -150,6 +150,8 @@ namespace NUITizenGallery
     class Program : NUIApplication
     {
         private Window window;
+        private AppBar appBar;
+        private View pageContent;
         private Navigator navigator;
         private CollectionView colView;
         private ItemSelectionMode selMode;
@@ -179,7 +181,7 @@ namespace NUITizenGallery
         public void OnSelectionChanged(object sender, SelectionChangedEventArgs ev)
         {
             Console.WriteLine($"@@@ OnSelectionChanged() {ev.CurrentSelection}");
-
+            
             foreach (object item in ev.CurrentSelection)
             {
                 if (item == null)
@@ -221,6 +223,7 @@ namespace NUITizenGallery
             base.OnCreate();
             Initialize();
             SetMainPage();
+            pageContent.SizeHeight = Window.Instance.WindowSize.Height - appBar.SizeHeight;
         }
         private void Initialize()
         {
@@ -247,7 +250,7 @@ namespace NUITizenGallery
 
         private void SetMainPage()
         {
-            var appBar = new AppBar()
+            appBar = new AppBar()
             {
                 Title = "NUI Tizen Gallery",
                 AutoNavigationContent = false,
@@ -259,7 +262,7 @@ namespace NUITizenGallery
             appBar.NavigationContent = moreButton;
 
 
-            var pageContent = new View()
+            pageContent = new View()
             {
                 Layout = new LinearLayout()
                 {
@@ -299,6 +302,7 @@ namespace NUITizenGallery
                 }),
                 Header = myTitle,
                 ScrollingDirection = ScrollableBase.Direction.Vertical,
+                HideScrollbar = false,
                 WidthSpecification = LayoutParamPolicies.MatchParent,
                 HeightSpecification = LayoutParamPolicies.MatchParent,
                 SelectionMode = selMode,
@@ -362,7 +366,7 @@ namespace NUITizenGallery
             }
 
             var app = new Program();
-            app.Run(emptyArgs);
+            app.Run(args);
         }
     }
 }