1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ContentPage x:Class="NUITizenGallery.TabViewWithIconOnlyTestPage"
3 xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
4 xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
5 WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
6 HeightSpecification="{Static LayoutParamPolicies.MatchParent}">
8 <!-- AppBar is top-side bar with navigation content, title, and action. If you not set any contents, back button is automatically added. -->
10 <AppBar x:Name="appBar" Title="TabViewWithIconOnlyTestPage"/>
13 <!-- Content is main placeholder of ContentPage. Add your content into this view. -->
15 <TabView x:Name="tabView"
16 WidthSpecification="{Static LayoutParamPolicies.MatchParent}">
17 <TabItem IconURL="res/home.png">
19 <View WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
20 HeightSpecification="{Static LayoutParamPolicies.MatchParent}"
21 BackgroundColor="Red">
23 <LinearLayout LinearOrientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Center" CellPadding="0,20"/>
26 <Button Text="Add Tab" BackgroundColor="Magenta" Clicked="AddTabClickedCb" />
27 <Button Text="Remove Tab" BackgroundColor="Magenta" Clicked="RemoveTabClickedCb"/>
32 <TabItem IconURL="res/home.png">
34 <View WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
35 HeightSpecification="{Static LayoutParamPolicies.MatchParent}"
36 BackgroundColor="Blue">
38 <LinearLayout LinearOrientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Center" CellPadding="0,20"/>
41 <Button Text="Add Tab" BackgroundColor="Cyan" Clicked="AddTabClickedCb"/>
42 <Button Text="Remove Tab" BackgroundColor="Cyan" Clicked="RemoveTabClickedCb"/>
47 </ContentPage.Content>