Add APIs for floating keyboard (#344)
[platform/core/csapi/tizenfx.git] / test / NUITestSample / NUIXAMLTestSample / TestMyContents / MediaHubPage.xaml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <MediaHubPage x:Class="Tizen.NUI.Examples.MediaHubPage"
3   xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
4   xmlns:l="clr-namespace:Tizen.UI_Xaml;assembly=Tizen.UI_Xaml"
5   xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
6
7     <View Name="MainTitleArea" PositionX="0" PositionY="0" BackgroundImage="/home/tengxb/GitRepo/nui-xaml/TestXaml/res/images/mc_title_bg.png" SizeWidth="1920" SizeHeight="120" ParentOrigin="TopLeft" PivotPoint="TopLeft" PositionUsesPivotPoint="true">
8         <TextLabel Name="MainTitle" Text="DataTraveler 2.0" PointSize="50" TextColor="White" PositionX="30" ParentOrigin="CenterLeft" PivotPoint="CenterLeft" PositionUsesPivotPoint="true" />
9     </View>
10     <View Name="SubTitleArea" PositionX="0" PositionY="120" BackgroundImage="/home/tengxb/GitRepo/nui-xaml/TestXaml/res/images/mc_shadow_titlebar.png" SizeWidth="1920" SizeHeight="78" ParentOrigin="TopLeft" PivotPoint="TopLeft" PositionUsesPivotPoint="true">
11         <TextLabel Name="SubTitle" Text="DataTraveler 2.0" PointSize="30" TextColor="White" PositionX="40" ParentOrigin="CenterLeft" PivotPoint="CenterLeft" PositionUsesPivotPoint="true" />
12     </View>
13     <View Name="ContentArea" PositionX="0" PositionY="198" SizeWidth="1920" SizeHeight="882" ParentOrigin="TopLeft" PivotPoint="TopLeft" PositionUsesPivotPoint="true">
14         <TableView Name="ContentTable" Focusable="true" SizeWidth="1820" SizeHeight="600" PositionX="50" PositionY="50" Rows="2" Columns="8" CellPadding="4.75,12">
15             <View Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost" BackgroundColor="White" CellIndex="0,0" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent">
16                 <ImageView ResourceUrl="/home/tengxb/GitRepo/nui-xaml/TestXaml/res/images/mc_folder.png" SizeWidth="218" SizeHeight="226" ParentOrigin="TopCenter" PivotPoint="TopCenter" PositionUsesPivotPoint="true"/>
17                 <TextLabel Text="Text" SizeWidth="218" SizeHeight="50" HorizontalAlignment="Center" VerticalAlignment="Center" ParentOrigin="BottomCenter" PivotPoint="BottomCenter" PositionUsesPivotPoint="true" />
18             </View>
19             <View Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost" BackgroundColor="White" CellIndex="0,1" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent">
20                 <ImageView ResourceUrl="/home/tengxb/GitRepo/nui-xaml/TestXaml/res/images/mc_folder.png" SizeWidth="218" SizeHeight="226" ParentOrigin="TopCenter" PivotPoint="TopCenter" PositionUsesPivotPoint="true"/>
21                 <TextLabel Text="Text" SizeWidth="218" SizeHeight="50" HorizontalAlignment="Center" VerticalAlignment="Center" ParentOrigin="BottomCenter" PivotPoint="BottomCenter" PositionUsesPivotPoint="true" />
22             </View>
23             <View Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost" BackgroundColor="White" CellIndex="0,2" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent">
24                 <ImageView ResourceUrl="/home/tengxb/GitRepo/nui-xaml/TestXaml/res/images/mc_folder.png" SizeWidth="218" SizeHeight="226" ParentOrigin="TopCenter" PivotPoint="TopCenter" PositionUsesPivotPoint="true"/>
25                 <TextLabel Text="Text" SizeWidth="218" SizeHeight="50" HorizontalAlignment="Center" VerticalAlignment="Center" ParentOrigin="BottomCenter" PivotPoint="BottomCenter" PositionUsesPivotPoint="true" />
26             </View>
27             <View Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost" BackgroundColor="White" CellIndex="0,3" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent">
28                 <ImageView ResourceUrl="/home/tengxb/GitRepo/nui-xaml/TestXaml/res/images/mc_folder.png" SizeWidth="218" SizeHeight="226" ParentOrigin="TopCenter" PivotPoint="TopCenter" PositionUsesPivotPoint="true"/>
29                 <TextLabel Text="Text" SizeWidth="218" SizeHeight="50" HorizontalAlignment="Center" VerticalAlignment="Center" ParentOrigin="BottomCenter" PivotPoint="BottomCenter" PositionUsesPivotPoint="true" />
30             </View>
31             <View Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost" BackgroundColor="White" CellIndex="0,4" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent">
32                 <ImageView ResourceUrl="/home/tengxb/GitRepo/nui-xaml/TestXaml/res/images/mc_folder.png" SizeWidth="218" SizeHeight="226" ParentOrigin="TopCenter" PivotPoint="TopCenter" PositionUsesPivotPoint="true"/>
33                 <TextLabel Text="Text" SizeWidth="218" SizeHeight="50" HorizontalAlignment="Center" VerticalAlignment="Center" ParentOrigin="BottomCenter" PivotPoint="BottomCenter" PositionUsesPivotPoint="true" />
34             </View>
35             <View Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost" BackgroundColor="White" CellIndex="0,5" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent">
36                 <ImageView ResourceUrl="/home/tengxb/GitRepo/nui-xaml/TestXaml/res/images/mc_folder.png" SizeWidth="218" SizeHeight="226" ParentOrigin="TopCenter" PivotPoint="TopCenter" PositionUsesPivotPoint="true"/>
37                 <TextLabel Text="Text" SizeWidth="218" SizeHeight="50" HorizontalAlignment="Center" VerticalAlignment="Center"  ParentOrigin="BottomCenter" PivotPoint="BottomCenter" PositionUsesPivotPoint="true" />
38             </View>
39             <View Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost" BackgroundColor="White" CellIndex="0,6" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent">
40                 <ImageView ResourceUrl="/home/tengxb/GitRepo/nui-xaml/TestXaml/res/images/mc_folder.png" SizeWidth="218" SizeHeight="226" ParentOrigin="TopCenter" PivotPoint="TopCenter" PositionUsesPivotPoint="true"/>
41                 <TextLabel Text="Text" SizeWidth="218" SizeHeight="50" HorizontalAlignment="Center" VerticalAlignment="Center" ParentOrigin="BottomCenter" PivotPoint="BottomCenter" PositionUsesPivotPoint="true" />
42             </View>
43             <View Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost" BackgroundColor="White" CellIndex="0,7" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent">
44                 <ImageView ResourceUrl="/home/tengxb/GitRepo/nui-xaml/TestXaml/res/images/mc_folder.png" SizeWidth="218" SizeHeight="226" ParentOrigin="TopCenter" PivotPoint="TopCenter" PositionUsesPivotPoint="true"/>
45                 <TextLabel Text="Text" SizeWidth="218" SizeHeight="50" HorizontalAlignment="Center" VerticalAlignment="Center" ParentOrigin="BottomCenter" PivotPoint="BottomCenter" PositionUsesPivotPoint="true" />
46             </View>
47             <View Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost" BackgroundColor="White" CellIndex="1,0" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent">
48                 <ImageView ResourceUrl="/home/tengxb/GitRepo/nui-xaml/TestXaml/res/images/mc_folder.png" SizeWidth="218" SizeHeight="226" ParentOrigin="TopCenter" PivotPoint="TopCenter" PositionUsesPivotPoint="true"/>
49                 <TextLabel Text="Text" SizeWidth="218" SizeHeight="50" HorizontalAlignment="Center" VerticalAlignment="Center" ParentOrigin="BottomCenter" PivotPoint="BottomCenter" PositionUsesPivotPoint="true" />
50             </View>
51             <View Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost" BackgroundColor="White" CellIndex="1,1" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent">
52                 <ImageView ResourceUrl="/home/tengxb/GitRepo/nui-xaml/TestXaml/res/images/mc_folder.png" SizeWidth="218" SizeHeight="226" ParentOrigin="TopCenter" PivotPoint="TopCenter" PositionUsesPivotPoint="true"/>
53                 <TextLabel Text="Text" SizeWidth="218" SizeHeight="50" HorizontalAlignment="Center" VerticalAlignment="Center" ParentOrigin="BottomCenter" PivotPoint="BottomCenter" PositionUsesPivotPoint="true" />
54             </View>
55             <View Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost" BackgroundColor="White" CellIndex="1,2" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent">
56                 <ImageView ResourceUrl="/home/tengxb/GitRepo/nui-xaml/TestXaml/res/images/mc_folder.png" SizeWidth="218" SizeHeight="226" ParentOrigin="TopCenter" PivotPoint="TopCenter" PositionUsesPivotPoint="true"/>
57                 <TextLabel Text="Text" SizeWidth="218" SizeHeight="50" HorizontalAlignment="Center" VerticalAlignment="Center" ParentOrigin="BottomCenter" PivotPoint="BottomCenter" PositionUsesPivotPoint="true" />
58             </View>
59             <View Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost" BackgroundColor="White" CellIndex="1,3" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent">
60                 <ImageView ResourceUrl="/home/tengxb/GitRepo/nui-xaml/TestXaml/res/images/mc_folder.png" SizeWidth="218" SizeHeight="226" ParentOrigin="TopCenter" PivotPoint="TopCenter" PositionUsesPivotPoint="true"/>
61                 <TextLabel Text="Text" SizeWidth="218" SizeHeight="50" HorizontalAlignment="Center" VerticalAlignment="Center" ParentOrigin="BottomCenter" PivotPoint="BottomCenter" PositionUsesPivotPoint="true" />
62             </View>
63             <View Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost" BackgroundColor="White" CellIndex="1,4" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent">
64                 <ImageView ResourceUrl="/home/tengxb/GitRepo/nui-xaml/TestXaml/res/images/mc_folder.png" SizeWidth="218" SizeHeight="226" ParentOrigin="TopCenter" PivotPoint="TopCenter" PositionUsesPivotPoint="true"/>
65                 <TextLabel Text="Text" SizeWidth="218" SizeHeight="50" HorizontalAlignment="Center" VerticalAlignment="Center" ParentOrigin="BottomCenter" PivotPoint="BottomCenter" PositionUsesPivotPoint="true" />
66             </View>
67             <View Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost" BackgroundColor="White" CellIndex="1,5" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent">
68                 <ImageView ResourceUrl="/home/tengxb/GitRepo/nui-xaml/TestXaml/res/images/mc_folder.png" SizeWidth="218" SizeHeight="226" ParentOrigin="TopCenter" PivotPoint="TopCenter" PositionUsesPivotPoint="true"/>
69                 <TextLabel Text="Text" SizeWidth="218" SizeHeight="50" HorizontalAlignment="Center" VerticalAlignment="Center" ParentOrigin="BottomCenter" PivotPoint="BottomCenter" PositionUsesPivotPoint="true" />
70             </View>
71             <View Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost" BackgroundColor="White" CellIndex="1,6" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent">
72                 <ImageView ResourceUrl="/home/tengxb/GitRepo/nui-xaml/TestXaml/res/images/mc_folder.png" SizeWidth="218" SizeHeight="226" ParentOrigin="TopCenter" PivotPoint="TopCenter" PositionUsesPivotPoint="true"/>
73                 <TextLabel Text="Text" SizeWidth="218" SizeHeight="50" HorizontalAlignment="Center" VerticalAlignment="Center" ParentOrigin="BottomCenter" PivotPoint="BottomCenter" PositionUsesPivotPoint="true" />
74             </View>
75             <View Focusable="true" FocusGained="OnFocusGained" FocusLost="OnFocusLost" BackgroundColor="White" CellIndex="1,7" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent">
76                 <ImageView ResourceUrl="/home/tengxb/GitRepo/nui-xaml/TestXaml/res/images/mc_folder.png" SizeWidth="218" SizeHeight="226" ParentOrigin="TopCenter" PivotPoint="TopCenter" PositionUsesPivotPoint="true"/>
77                 <TextLabel Text="Text" SizeWidth="218" SizeHeight="50" HorizontalAlignment="Center" VerticalAlignment="Center" ParentOrigin="BottomCenter" PivotPoint="BottomCenter" PositionUsesPivotPoint="true" />
78             </View>
79
80         </TableView>
81
82
83         <TableView Name="OptionList" Focusable="true" SizeWidth="1110" SizeHeight="80" PositionX="770" PositionY="760" Rows="1" Columns="3" CellPadding="15, 0">
84             <ImageView Name="Options1" CellIndex="0,0" Focusable="true" FocusGained="OnOptionsFocusGained" FocusLost="OnOptionsFocusLost" ResourceUrl="/home/tengxb/GitRepo/nui-xaml/TestXaml/res/images/c_basic_button_white_bg_normal.9.png" Border="4,4,5,5" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent" >
85                 <TextLabel Text="Filter By:All" PointSize="25" HorizontalAlignment="Center" VerticalAlignment="Center" ParentOrigin="Center" PivotPoint="Center" PositionUsesPivotPoint="true" />
86             </ImageView>
87             <ImageView Name="Options2" CellIndex="0,1" Focusable="true" FocusGained="OnOptionsFocusGained" FocusLost="OnOptionsFocusLost" ResourceUrl="/home/tengxb/GitRepo/nui-xaml/TestXaml/res/images/c_basic_button_white_bg_normal.9.png" Border="4,4,5,5" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent" >
88                 <TextLabel Text="Sort By:Title" PointSize="25" HorizontalAlignment="Center" VerticalAlignment="Center" ParentOrigin="Center" PivotPoint="Center" PositionUsesPivotPoint="true" />
89             </ImageView>
90             <ImageView Name="Options3" CellIndex="0,2" Focusable="true" FocusGained="OnOptionsFocusGained" FocusLost="OnOptionsFocusLost" ResourceUrl="/home/tengxb/GitRepo/nui-xaml/TestXaml/res/images/c_basic_button_white_bg_normal.9.png" Border="4,4,5,5" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent" >
91                 <TextLabel Text="Options" PointSize="25" HorizontalAlignment="Center" VerticalAlignment="Center" ParentOrigin="Center" PivotPoint="Center" PositionUsesPivotPoint="true" />
92             </ImageView>
93         </TableView>
94     </View>
95
96 </MediaHubPage>