mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
83 lines
3.7 KiB
XML
83 lines
3.7 KiB
XML
<Page>
|
|
<StackLayout>
|
|
|
|
<WrapLayout>
|
|
<Label text="labelLabel" style="letter-spacing: -1;" />
|
|
<Label text="labelLabel" style="letter-spacing: 0;" />
|
|
<Label text="labelLabel" style="letter-spacing: 1;" />
|
|
</WrapLayout>
|
|
|
|
<Label text="labelLabel" style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;" />
|
|
<Label style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;">
|
|
<Label.formattedText>
|
|
<FormattedString>
|
|
<FormattedString.spans>
|
|
<Span text="label" fontAttributes="Bold" foregroundColor="#0000ff" />
|
|
<Span text="Label" fontAttributes="Italic" foregroundColor="#00ff00" />
|
|
</FormattedString.spans>
|
|
</FormattedString>
|
|
</Label.formattedText>
|
|
</Label>
|
|
|
|
<WrapLayout>
|
|
<Button text="buttonButton" style="letter-spacing: -1;" />
|
|
<Button text="buttonButton" style="letter-spacing: 0;" />
|
|
<Button text="buttonButton" style="letter-spacing: 1;" />
|
|
</WrapLayout>
|
|
|
|
<Button text="buttonButton" style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;" />
|
|
<!--<android>-->
|
|
<Button style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;">
|
|
<Button.formattedText>
|
|
<FormattedString>
|
|
<FormattedString.spans>
|
|
<Span text="button" fontAttributes="Bold" foregroundColor="#0000ff" />
|
|
<Span text="Button" fontAttributes="Italic" foregroundColor="#00ff00" />
|
|
</FormattedString.spans>
|
|
</FormattedString>
|
|
</Button.formattedText>
|
|
</Button>
|
|
<!--</android>-->
|
|
|
|
<WrapLayout>
|
|
<TextField text="textField" style="letter-spacing: -1;" />
|
|
<TextField text="textField" style="letter-spacing: 0;" />
|
|
<TextField text="textField" style="letter-spacing: 1;" />
|
|
</WrapLayout>
|
|
|
|
<TextField text="textField" style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;" />
|
|
<!--<android>-->
|
|
<TextField style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;">
|
|
<TextField.formattedText>
|
|
<FormattedString>
|
|
<FormattedString.spans>
|
|
<Span text="text" fontAttributes="Bold" foregroundColor="#0000ff" />
|
|
<Span text="Field" fontAttributes="Italic" foregroundColor="#00ff00" />
|
|
</FormattedString.spans>
|
|
</FormattedString>
|
|
</TextField.formattedText>
|
|
</TextField>
|
|
<!--</android>-->
|
|
|
|
<WrapLayout>
|
|
<TextView text="textView" style="letter-spacing: -1;" />
|
|
<TextView text="textView" style="letter-spacing: 0;" />
|
|
<TextView text="textView" style="letter-spacing: 1;" />
|
|
</WrapLayout>
|
|
|
|
<TextView text="textView" style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;" />
|
|
<!--<android>-->
|
|
<TextView style="text-transform: uppercase; text-decoration: underline line-through; letter-spacing: 10;">
|
|
<TextView.formattedText>
|
|
<FormattedString>
|
|
<FormattedString.spans>
|
|
<Span text="text" fontAttributes="Bold" foregroundColor="#0000ff" />
|
|
<Span text="View" fontAttributes="Italic" foregroundColor="#00ff00" />
|
|
</FormattedString.spans>
|
|
</FormattedString>
|
|
</TextView.formattedText>
|
|
</TextView>
|
|
<!--</android>-->
|
|
|
|
</StackLayout>
|
|
</Page> |