1 <?xml version="1.0" encoding="UTF-8" ?>
2 <b:View x:Class="NUITizenGallery.LabelTest2Page"
3 xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
4 xmlns:b="clr-namespace:Tizen.NUI.BaseComponents;assembly=Tizen.NUI"
5 xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
6 BackgroundColor="White"
7 PositionUsesPivotPoint="True" ParentOrigin="Center" PivotPoint="Center" WidthResizePolicy="FillToParent" HeightResizePolicy="FillToParent">
11 <x:String x:Key="label2Text">
12 <color value='blue'>This should be Blue</color>
14 <x:String x:Key="label3Text">
15 None<font weight='bold' >Bold</font><font slant='italic' >Italic</font><font slant='italic' weight='bold' >Both</font>
17 <x:String x:Key="label6Text">
18 <color value='blue'><font slant='italic' >This should be Italic Blue on Red</font></color>
20 <x:String x:Key="label8Text">
21 <Html>this is HTML</Html>
26 <View x:Name="mainView"
27 HeightResizePolicy="FillToParent"
28 WidthResizePolicy="FillToParent">
31 <LinearLayout LinearOrientation="Vertical" CellPadding="10,10"/>
34 <TextLabel Text="NormalTextLabel"/>
36 <TextLabel BackgroundColor="Red"
38 Text="{StaticResource label2Text}"/>
40 <TextLabel EnableMarkup="True"
41 Text="{StaticResource label3Text}"/>
43 <TextLabel Text="This should be Blue"
47 <TextLabel Text="This should be Red"
50 <TextLabel EnableMarkup="True"
51 Text="{StaticResource label6Text}"
52 BackgroundColor="Red"/>
55 <TextLabel WidthSpecification="{Static LayoutParamPolicies.MatchParent}"
56 Text="This is reeeeeeeeeeeeeeeeeeeeealy looooooooooooooooooooooong and looooooooooooooooooong text"
58 LineWrapMode="Character"/>
60 <TextLabel Text="{StaticResource label8Text}"/>