--- /dev/null
+/*
+ * Copyright (c) 2017 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.BaseComponents;
+
+namespace Tizen.NUI.Examples
+{
+ public partial class LayoutPage : View
+ {
+ public LayoutPage()
+ {
+ InitializeComponent();
+ }
+ }
+}
\ No newline at end of file
--- /dev/null
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Tizen.NUI.Examples
+{
+ public class LayoutSample : NUIApplication
+ {
+ protected override void OnCreate()
+ {
+ base.OnCreate();
+ Window window = Window.Instance;
+ window.BackgroundColor = Color.Green;
+
+ LayoutPage myPage = new LayoutPage();
+ window.Add(myPage);
+ Console.WriteLine("================== Set BindingContext in Application !!!! ==================");
+ }
+ }
+}
using System;
+using Tizen.NUI.Examples;
namespace NUIXAMLTestSample
{
[STAThread]
static void Main(string[] args)
{
- new TempTest().Run(args);
+ //new TempTest().Run(args);
+ new LayoutSample().Run(args);
/* For Sample codes */
// new TestAmbient().Run(args);
</PropertyGroup>
<ItemGroup>
- <Folder Include="lib\" />
- <Folder Include="res\" />
- </ItemGroup>
-
- <ItemGroup>
+ <PackageReference Include="Tizen.NET" Version="8.0.0.15214" />
<PackageReference Include="Tizen.NET.Sdk" Version="1.0.0" />
+ <PackageReference Include="Tizen.NUI.XamlBuild" Version="1.0.11" />
</ItemGroup>
<ItemGroup>
- <EmbeddedResource Include="TempTest/TempPage.xaml" />
<EmbeddedResource Include="TestAmbient/*.xaml" />
- <EmbeddedResource Include="TestMyContents/MediaHubPage.xaml" />
- <EmbeddedResource Include="TestDetailApps/AppDetailPage.xaml" />
- <EmbeddedResource Include="UTC/TestButton/ButtonTestPage.xaml" />
- <EmbeddedResource Include="UTC/TestFlexContainer/FlexContainerPage.xaml" />
- <EmbeddedResource Include="UTC/TestImageView/ImageTestPage.xaml" />
- <EmbeddedResource Include="UTC/TestScrollBar/ScrollBarTestPage.xaml" />
- <EmbeddedResource Include="UTC/TestSlider/SliderTestPage.xaml" />
- <EmbeddedResource Include="UTC/TestTableView/TableTestPage.xaml" />
- <EmbeddedResource Include="UTC/TestTextEditor/TextEditorTestPage.xaml" />
- <EmbeddedResource Include="UTC/TestTextField/TextFieldTestPage.xaml" />
- <EmbeddedResource Include="UTC/TestTextLabel/TextLabelTestPage.xaml" />
+ <Compile Remove="lib\**" />
+ <EmbeddedResource Remove="lib\**" />
+ <None Remove="lib\**" />
</ItemGroup>
+ <ItemGroup>
+ <None Remove="res\layout\1920x1080\AmbientDuoPage.xaml" />
+ <None Remove="res\layout\1920x1080\AmbientMonoPage.xaml" />
+ <None Remove="res\layout\1920x1080\AmbientMultiPage.xaml" />
+ <None Remove="res\layout\1920x1080\AmbientMultiPage2.xaml" />
+ <None Remove="res\layout\1920x1080\AmbientMultiPage3.xaml" />
+ <None Remove="res\layout\1920x1080\AppDetailPage.xaml" />
+ <None Remove="res\layout\1920x1080\BixbyFinancePage.xaml" />
+ <None Remove="res\layout\1920x1080\BixbyWidgetPage.xaml" />
+ <None Remove="res\layout\1920x1080\LayoutPage.xaml" />
+ <None Remove="res\layout\1920x1080\MediaHubPage.xaml" />
+ <None Remove="res\layout\1920x1080\SearchPage.xaml" />
+ <None Remove="res\layout\1920x1080\WeatherPage.xaml" />
+ <None Remove="res\layout\ButtonTestPage.xaml" />
+ <None Remove="res\layout\FlexContainerPage.xaml" />
+ <None Remove="res\layout\ImageTestPage.xaml" />
+ <None Remove="res\layout\ScrollBarTestPage.xaml" />
+ <None Remove="res\layout\SliderTestPage.xaml" />
+ <None Remove="res\layout\TableTestPage.xaml" />
+ <None Remove="res\layout\TempPage.xaml" />
+ <None Remove="res\layout\TextEditorTestPage.xaml" />
+ <None Remove="res\layout\TextFieldTestPage.xaml" />
+ <None Remove="res\layout\TextLabelTestPage.xaml" />
+ <None Remove="res\layout\VideoViewPage.xaml" />
+ </ItemGroup>
+ <ItemGroup>
+ <EmbeddedResource Include="res\layout\1920x1080\AmbientDuoPage.xaml" />
+ <EmbeddedResource Include="res\layout\1920x1080\AmbientMonoPage.xaml" />
+ <EmbeddedResource Include="res\layout\1920x1080\AmbientMultiPage.xaml" />
+ <EmbeddedResource Include="res\layout\1920x1080\AmbientMultiPage2.xaml" />
+ <EmbeddedResource Include="res\layout\1920x1080\AmbientMultiPage3.xaml" />
+ <EmbeddedResource Include="res\layout\1920x1080\AppDetailPage.xaml" />
+ <EmbeddedResource Include="res\layout\1920x1080\BixbyFinancePage.xaml" />
+ <EmbeddedResource Include="res\layout\1920x1080\BixbyWidgetPage.xaml" />
+ <EmbeddedResource Include="res\layout\1920x1080\LayoutPage.xaml" />
+ <EmbeddedResource Include="res\layout\1920x1080\MediaHubPage.xaml" />
+ <EmbeddedResource Include="res\layout\1920x1080\SearchPage.xaml" />
+ <EmbeddedResource Include="res\layout\1920x1080\WeatherPage.xaml" />
+ <EmbeddedResource Include="res\layout\ButtonTestPage.xaml" />
+ <EmbeddedResource Include="res\layout\FlexContainerPage.xaml" />
+ <EmbeddedResource Include="res\layout\ImageTestPage.xaml" />
+ <EmbeddedResource Include="res\layout\ScrollBarTestPage.xaml" />
+ <EmbeddedResource Include="res\layout\SliderTestPage.xaml" />
+ <EmbeddedResource Include="res\layout\TableTestPage.xaml" />
+ <EmbeddedResource Include="res\layout\TempPage.xaml" />
+ <EmbeddedResource Include="res\layout\TextEditorTestPage.xaml" />
+ <EmbeddedResource Include="res\layout\TextFieldTestPage.xaml" />
+ <EmbeddedResource Include="res\layout\TextLabelTestPage.xaml" />
+ <EmbeddedResource Include="res\layout\VideoViewPage.xaml" />
+ </ItemGroup>
</Project>
*/
using System;
using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
namespace Tizen.NUI.Examples
{
- public class TempPage : ContentPage
+ public partial class TempPage : ContentPage
{
public TempPage(Window win) : base (win)
{
+ InitializeComponent();
}
/// <summary>
// FocusManager.Instance.SetCurrentFocusView(button1);
}
- private bool OnClicked(object sender, EventArgs e)
- {
- if (sender is Button)
- {
- Button button = sender as Button;
- button.LabelText = "Click Me";
- }
- return true;
- }
-
private void OnFocusGained(object obj, EventArgs e)
{
View view = obj as View;
using System;
-using System.IO;
-using System.Reflection;
using Tizen.NUI.Binding;
using Tizen.NUI.Xaml;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
-using Tizen.NUI.BaseComponents;
using System.ComponentModel;
namespace Tizen.NUI.Examples
*
*/
using System;
-using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
namespace Tizen.NUI.Examples
{
- public class AmbientDuoPage : ContentPage
+ public partial class AmbientDuoPage : ContentPage
{
public AmbientDuoPage(Window win) : base (win)
{
+ InitializeComponent();
Root.BackgroundImage = "/home/owner/apps_rw/org.tizen.example.NUIXAMLTestSample/res/images/ambient/photoduo_img_bg_01_no9patch.png";
ClearEvent += OnClearEvent;
Root.Opacity = 0.0f;
*/
using System;
using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
namespace Tizen.NUI.Examples
{
- public class AmbientMonoPage : ContentPage
+ public partial class AmbientMonoPage : ContentPage
{
public AmbientMonoPage(Window win) : base (win)
{
+ InitializeComponent();
}
/// <summary>
*
*/
using System;
-using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
namespace Tizen.NUI.Examples
{
- public class AmbientMultiPage : ContentPage
+ public partial class AmbientMultiPage : ContentPage
{
public AmbientMultiPage(Window win) : base (win)
{
+ InitializeComponent();
Root.BackgroundImage = "/home/owner/apps_rw/org.tizen.example.NUIXAMLTestSample/res/images/ambient/photoboard_img_bg_01.png";
ClearEvent += OnClearEvent;
Root.Opacity = 0.0f;
*
*/
using System;
-using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
namespace Tizen.NUI.Examples
{
- public class AmbientMultiPage2 : ContentPage
+ public partial class AmbientMultiPage2 : ContentPage
{
public AmbientMultiPage2(Window win) : base (win)
{
+ InitializeComponent();
Root.BackgroundImage = "/home/owner/apps_rw/org.tizen.example.NUIXAMLTestSample/res/images/ambient/photoboard_img_bg_02.png";
ClearEvent += OnClearEvent;
Root.Opacity = 0.0f;
*
*/
using System;
-using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
namespace Tizen.NUI.Examples
{
- public class AmbientMultiPage3 : ContentPage
+ public partial class AmbientMultiPage3 : ContentPage
{
public AmbientMultiPage3(Window win) : base (win)
{
+ InitializeComponent();
Root.Opacity = 0.0f;
}
namespace Tizen.NUI.Examples
{
- class BixbyFinancePage : ContentPage
+ partial class BixbyFinancePage : ContentPage
{
private Vector2 bezierPointIn1 = new Vector2(0.21f, 2);
private Vector2 bezierPointIn2 = new Vector2(0.14f, 1);
private Vector2 bezierPointOut2 = new Vector2(0.22f, 1);
private Animation scaleInAni = null;
private Animation scaleOutAni = null;
- private Animation selectedAni = null;
private ImageView buttonClose = null;
private ImageView buttonSend = null;
+
public BixbyFinancePage(Window win) : base(win)
{
+ InitializeComponent();
}
/// <summary>
namespace Tizen.NUI.Examples
{
- class BixbyWidgetPage : ContentPage
+ partial class BixbyWidgetPage : ContentPage
{
private ImageView widget = null;
public BixbyWidgetPage(Window win) : base(win)
{
+ InitializeComponent();
}
/// <summary>
*/
using System;
using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
namespace Tizen.NUI.Examples
{
- public class SearchPage : ContentPage
+ public partial class SearchPage : ContentPage
{
private Vector2 bezierPointIn1 = new Vector2(0.21f, 2);
private Vector2 bezierPointIn2 = new Vector2(0.14f, 1);
public SearchPage(Window win) : base (win)
{
+ InitializeComponent();
Root.BackgroundImage = "/home/owner/apps_rw/org.tizen.example.NUIXAMLTestSample/res/images/store_default_bg_01.png";
}
{
if (e.Direction == View.FocusDirection.Down)
{
- View view = e.CurrentView.Parent as View;
+ View view = e.CurrentView.GetParent() as View;
if (view.Name == "UpperListTable")
{
e.ProposedView = midListTable.GetChildAt(new TableView.CellPosition(0, 0)); ;
}
else if (e.Direction == View.FocusDirection.Up)
{
- View view = e.CurrentView.Parent as View;
+ View view = e.CurrentView.GetParent() as View;
if (view.Name == "BottomListTable")
{
e.ProposedView = midListTable.GetChildAt(new TableView.CellPosition(0, 0)); ;
using System;
-using System.IO;
-using System.Reflection;
-
-using Tizen.NUI.Binding;
using Tizen.NUI.Xaml;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
-using Tizen.NUI.BaseComponents;
namespace Tizen.NUI.Examples
{
*/
using System;
using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
namespace Tizen.NUI.Examples
{
- public class WeatherPage : ContentPage
+ public partial class WeatherPage : ContentPage
{
private Vector2 bezierPointIn1 = new Vector2(0.21f, 2);
private Vector2 bezierPointIn2 = new Vector2(0.14f, 1);
public WeatherPage(Window win) : base (win)
{
+ InitializeComponent();
Root.BackgroundImage = "/home/owner/apps_rw/org.tizen.example.NUIXAMLTestSample/res/images/weather/bg.bmp";
// Root.BackgroundColor = Color.Green;
}
*/
using System;
using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
+using Tizen.NUI.Components;
namespace Tizen.NUI.Examples
{
- public class AppDetailPage : ContentPage
+ public partial class AppDetailPage : ContentPage
{
private Vector2 bezierPointIn1 = new Vector2(0.21f, 2);
private Vector2 bezierPointIn2 = new Vector2(0.14f, 1);
public AppDetailPage(Window win) : base (win)
{
+ InitializeComponent();
Root.BackgroundImage = "/home/owner/apps_rw/org.tizen.example.NUIXAMLTestSample/res/images/store_default_bg_01.png";
}
if (sender is Button)
{
Button button = sender as Button;
- button.LabelText = "Open";
+ button.Text = "Open";
}
return true;
}
using System;
-using System.IO;
-using System.Reflection;
-
-using Tizen.NUI.Binding;
using Tizen.NUI.Xaml;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
-using Tizen.NUI.BaseComponents;
namespace Tizen.NUI.Examples
{
using System;
using Tizen.NUI;
using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
+using Tizen.NUI.Components;
namespace Tizen.NUI.Examples
{
- public class MediaHubPage : ContentPage
+ public partial class MediaHubPage : ContentPage
{
private Vector2 bezierPointIn1 = new Vector2(0.21f, 2);
private Vector2 bezierPointIn2 = new Vector2(0.14f, 1);
public MediaHubPage(Window win) : base (win)
{
+ InitializeComponent();
Root.BackgroundImage = "/home/owner/apps_rw/org.tizen.example.NUIXAMLTestSample/res/images/mc_bg.png";
ClearEvent += OnClearEvent;
}
if (sender is Button)
{
Button button = sender as Button;
- button.LabelText = "Click Me";
+ button.Text = "Click Me";
}
return true;
}
using System;
-using System.IO;
-using System.Reflection;
-
-using Tizen.NUI.Binding;
using Tizen.NUI.Xaml;
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
-using Tizen.NUI.BaseComponents;
namespace Tizen.NUI.Examples
{
public class TestMyContents : NUIApplication
{
- private TableView contentTable;
protected override void OnCreate()
{
base.OnCreate();
*/
using System;
using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
+using Tizen.NUI.Components;
namespace Tizen.NUI.Examples
{
- public class ButtonTestPage : ContentPage
+ public partial class ButtonTestPage : ContentPage
{
public ButtonTestPage(Window win) : base (win)
{
+ InitializeComponent();
}
public override void SetFocus()
if (sender is Button)
{
Button button = sender as Button;
- button.LabelText = "Click Me";
+ button.Text = "Click Me";
}
return true;
}
using Tizen.NUI.Binding;
using Tizen.NUI.Xaml;
using Tizen.NUI;
-using Tizen.NUI.UIComponents;
+using Tizen.NUI.Components;
using Tizen.NUI.BaseComponents;
//using System.ComponentModel;
* limitations under the License.
*
*/
-using System;
-using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
namespace Tizen.NUI.Examples
{
- public class FlexContainerPage : ContentPage
+ public partial class FlexContainerPage : ContentPage
{
public FlexContainerPage(Window win) : base (win)
{
+ InitializeComponent();
}
public override void SetFocus()
* limitations under the License.
*
*/
-using System;
using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
namespace Tizen.NUI.Examples
{
- public class ImageTestPage : ContentPage
+ public partial class ImageTestPage : ContentPage
{
public ImageTestPage(Window win) : base (win)
{
+ InitializeComponent();
}
public override void SetFocus()
*/
using System;
using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
+using Tizen.NUI.Components;
namespace Tizen.NUI.Examples
{
- public class ScrollBarTestPage : ContentPage
+ public partial class ScrollBarTestPage : ContentPage
{
public ScrollBarTestPage(Window win) : base (win)
{
+ InitializeComponent();
}
public override void SetFocus()
*/
using System;
using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
+using Tizen.NUI.Components;
namespace Tizen.NUI.Examples
{
- public class SliderTestPage : ContentPage
+ public partial class SliderTestPage : ContentPage
{
public SliderTestPage(Window win) : base (win)
{
+ InitializeComponent();
}
public override void SetFocus()
* limitations under the License.
*
*/
-using System;
-using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
namespace Tizen.NUI.Examples
{
- public class TableTestPage : ContentPage
+ public partial class TableTestPage : ContentPage
{
public TableTestPage(Window win) : base (win)
{
+ InitializeComponent();
}
public override void SetFocus()
* limitations under the License.
*
*/
-using System;
-using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
namespace Tizen.NUI.Examples
{
- public class TextEditorTestPage : ContentPage
+ public partial class TextEditorTestPage : ContentPage
{
public TextEditorTestPage(Window win) : base (win)
{
+ InitializeComponent();
}
public override void SetFocus()
*/
using System;
using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
namespace Tizen.NUI.Examples
{
- public class TextFieldTestPage : ContentPage
+ public partial class TextFieldTestPage : ContentPage
{
public TextFieldTestPage(Window win) : base (win)
{
+ InitializeComponent();
}
public override void SetFocus()
* limitations under the License.
*
*/
-using System;
-using Tizen.NUI.BaseComponents;
-using Tizen.NUI.UIComponents;
namespace Tizen.NUI.Examples
{
- public class TextLabelTestPage : ContentPage
+ public partial class TextLabelTestPage : ContentPage
{
public TextLabelTestPage(Window win) : base (win)
{
+ InitializeComponent();
}
public override void SetFocus()
--- /dev/null
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Tizen.NUI.Examples
+{
+ public partial class VideoViewPage : ContentPage
+ {
+
+ public VideoViewPage(Window win) : base(win)
+ {
+ InitializeComponent();
+ }
+
+ public override void SetFocus()
+ {
+ }
+ }
+}
--- /dev/null
+using System;
+using Tizen.NUI.Xaml;
+
+namespace Tizen.NUI.Examples
+{
+ class VideoViewTest : NUIApplication
+ {
+
+ protected override void OnCreate()
+ {
+ base.OnCreate();
+ Window window = Window.Instance;
+ window.BackgroundColor = Color.White;
+
+ TempPage myPage = new TempPage(window);
+ Extensions.LoadFromXaml(myPage, typeof(TempPage));
+ Console.WriteLine("================== Set BindingContext in Application !!!! ==================");
+ myPage.SetFocus();
+ }
+
+ public static void _Main(string[] args)
+ {
+ TempTest p = new TempTest();
+ p.Run(args);
+ }
+ }
+}
<?xml version="1.0" encoding="UTF-8" ?>
-<AppDetailPage x:Class="Tizen.NUI.Examples.AppDetailPage"
+<ContentPage x:Class="Tizen.NUI.Examples.AppDetailPage"
xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
- xmlns:l="clr-namespace:Tizen.UI_Xaml;assembly=Tizen.UI_Xaml"
+ xmlns:l="clr-namespace:Tizen.NUI.Examples;"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
<View Name="UpperArea" SizeWidth="1920" SizeHeight="780" ParentOrigin="TopLeft" PivotPoint="TopLeft" PositionUsesPivotPoint="true">
<ImageView Name="listItem5" ResourceUrl="/home/owner/apps_rw/org.tizen.example.NUIXAMLTestSample/res/images/weather_ss1.png" CellIndex="0,4" Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent"/>
</TableView>
</View>
-</AppDetailPage>
+</ContentPage>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" ?>
+<View x:Class="Tizen.NUI.Examples.LayoutPage"
+ xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
+ xmlns:l="clr-namespace:Tizen.NUI.Examples;"
+ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
+ Size="400,600" BackgroundColor="Red" ParentOrigin="Center" PivotPoint="Center" PositionUsesPivotPoint="true">
+ <View.Layout>
+ <LinearLayout LinearOrientation="Vertical" CellPadding="50,50" LinearAlignment="Center"/>
+ </View.Layout>
+ <TextLabel Text="ABCDE" HorizontalAlignment="Center" VerticalAlignment="Center" Size="300, 50" BackgroundColor="Cyan"/>
+ <TextLabel Text="HIJKL" HorizontalAlignment="Center" VerticalAlignment="Center" Size="300, 50" BackgroundColor="Cyan"/>
+ <TextLabel Text="UVXYZ" HorizontalAlignment="Center" VerticalAlignment="Center" Size="300,50" BackgroundColor="Cyan"/>
+</View>
<?xml version="1.0" encoding="UTF-8" ?>
-<MediaHubPage x:Class="Tizen.NUI.Examples.MediaHubPage"
+<ContentPage x:Class="Tizen.NUI.Examples.MediaHubPage"
xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
xmlns:l="clr-namespace:Tizen.UI_Xaml;assembly=Tizen.UI_Xaml"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
</TableView>
</View>
-</MediaHubPage>
+</ContentPage>
<?xml version="1.0" encoding="UTF-8" ?>
-<AppDetailPage x:Class="Tizen.NUI.Examples.SearchPage"
+<ContentPage x:Class="Tizen.NUI.Examples.SearchPage"
xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
<View Name="UpperArea" BackgroundColor="Green" SizeWidth="1920" SizeHeight="332" ParentOrigin="TopLeft" PivotPoint="TopLeft" PositionY="30" PositionUsesPivotPoint="true">
<ImageView Name="listItem35" ResourceUrl="/home/owner/apps_rw/org.tizen.example.NUIXAMLTestSample/res/images/youtube/ytb015.png" CellIndex="0,4" Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent"/>
</TableView>
</View>
-</AppDetailPage>
+</ContentPage>
xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
- <PushButton LabelText="Button1" Focusable="true" Position2D="50,50" Size2D="100,50" >
- </PushButton>
+ <TextLabel Text="Text1" Focusable="true" Position2D="50,50" Size2D="100,50" >
+ </TextLabel>
</ContentPage>
<?xml version="1.0" encoding="UTF-8" ?>
<ContentPage x:Class="Tizen.NUI.Examples.VideoViewPage"
xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
+ xmlns:c="clr-namespace:Tizen.NUI.Components;assembly=Tizen.NUI.Components"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
<VideoView ResourceUrl="/home/owner/apps_rw/org.tizen.example.NUIXAMLTestSample/res/videos/demoVideo.mp4"
x:Name="VideoView" Name="videoview" ParentOrigin="Center" PivotPoint="Center" Position2D="0,0" Size2D="600, 400" PositionUsesPivotPoint="true" Looping="true" Muted="false" />
<TableView x:Name="TableView" Rows="1" Columns="3" CellPadding="20,20" CellHorizontalAlignment="Center" CellVerticalAlignment="Center" Name="tableview" ParentOrigin="Center" PivotPoint="Center" Position2D="0,400" Size2D="600, 120" PositionUsesPivotPoint="true">
- <PushButton BackgroundImage="/home/owner/apps_rw/org.tizen.example.NUIXAMLTestSample/res/images/Backward.png" x:Name="ButtonBackward" Name="buttonbackward" ParentOrigin="Center" PivotPoint="Center" Position2D="0,0" Size2D="100, 80" PositionUsesPivotPoint="true" CellIndex="0,0" Clicked="OnClicked" Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost"/>
- <PushButton BackgroundImage="/home/owner/apps_rw/org.tizen.example.NUIXAMLTestSample/res/images/icon-play.png" x:Name="ButtonPlay" Name="buttonplay" ParentOrigin="Center" PivotPoint="Center" Position2D="0,0" Size2D="100, 80" PositionUsesPivotPoint="true" CellIndex="0,1" Clicked="OnClicked" Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost"/>
- <PushButton BackgroundImage="/home/owner/apps_rw/org.tizen.example.NUIXAMLTestSample/res/images/Forward.png" x:Name="ButtonForward" Name="buttonforward" ParentOrigin="Center" PivotPoint="Center" Position2D="0,0" Size2D="100, 80" PositionUsesPivotPoint="true" CellIndex="0,2" Clicked="OnClicked" Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost"/>
+ <c:Button BackgroundImage="/home/owner/apps_rw/org.tizen.example.NUIXAMLTestSample/res/images/Backward.png" x:Name="ButtonBackward" Name="buttonbackward" ParentOrigin="Center" PivotPoint="Center" Position2D="0,0" Size2D="100, 80" PositionUsesPivotPoint="true" CellIndex="0,0" Clicked="OnClicked" Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost"/>
+ <c:Button BackgroundImage="/home/owner/apps_rw/org.tizen.example.NUIXAMLTestSample/res/images/icon-play.png" x:Name="ButtonPlay" Name="buttonplay" ParentOrigin="Center" PivotPoint="Center" Position2D="0,0" Size2D="100, 80" PositionUsesPivotPoint="true" CellIndex="0,1" Clicked="OnClicked" Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost"/>
+ <c:Button BackgroundImage="/home/owner/apps_rw/org.tizen.example.NUIXAMLTestSample/res/images/Forward.png" x:Name="ButtonForward" Name="buttonforward" ParentOrigin="Center" PivotPoint="Center" Position2D="0,0" Size2D="100, 80" PositionUsesPivotPoint="true" CellIndex="0,2" Clicked="OnClicked" Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost"/>
</TableView>
</ContentPage>
\ No newline at end of file