Files
NativeScript/e2e/ui-tests-app/app/button/tappable-span-page.xml
Vasil Trifonov da80cd5e1a test: added missing page (#8493)
* test: added missing page

* fix: use strings instead of Visiblity
2020-04-03 17:27:37 +03:00

19 lines
962 B
XML

<Page>
<StackLayout style="font-size: 50">
<Label automationText="formattedText" id="formattedText" textWrap="true" style="text-transform: capitalize;">
<Label.formattedText>
<FormattedString>
<FormattedString.spans>
<Span text="The quick brown " style="font-weight: bold; color: green;" />
<Span text="fox" style="font-weight: italic; color: green;" linkTap="foxTap"/>
<Span text=" jumps over the lazy " style="font-weight: bold; color: red;" />
<Span text="dog" style="font-weight: bold; color: blue;" linkTap="dogTap"/>
<Span text="." style="font-weight: bold; color: green;" />
</FormattedString.spans>
</FormattedString>
</Label.formattedText>
</Label>
<Label id="foxTapped" text="Fox tapped" visibility="hidden" color="green"/>
<Label id="dogTapped" text="Dog tapped" visibility="hidden" color="blue"/>
</StackLayout>
</Page>