test: add colors to tests

This commit is contained in:
Martin Yankov
2019-05-09 13:24:23 +03:00
parent f189152a4b
commit fafa702128
3 changed files with 7 additions and 7 deletions

View File

@@ -1,10 +1,10 @@
<Page loaded="pageLoaded"> <Page loaded="pageLoaded" backgroundColor="skyblue">
<AbsoluteLayout height="100%"> <AbsoluteLayout height="100%" backgroundColor="gold">
<TextView id="details" <TextView id="details"
padding="12" paddingBottom="24" padding="12" paddingBottom="24"
top="{{ detailsHeight }}" width="100%" top="{{ detailsHeight }}" width="100%"
text="{{ ipsum }}" fontSize="20" text="{{ ipsum }}" fontSize="20"
opacity="0" translateY="50" editable="false"/> opacity="0" translateY="50" editable="false" backgroundColor="olive"/>
<Label originY="0" height="100%" width="100%" fontSize="42" <Label originY="0" height="100%" width="100%" fontSize="42"
backgroundColor="MidnightBlue" color="white" backgroundColor="MidnightBlue" color="white"
textAlignment="center" verticalAlignment="center" textAlignment="center" verticalAlignment="center"

View File

@@ -1,5 +1,5 @@
<Page> <Page backgroundColor="skyblue">
<AbsoluteLayout> <AbsoluteLayout backgroundColor="gold">
<Label originX="0" originY="0" top="0" left="0" <Label originX="0" originY="0" top="0" left="0"
height="128" fontSize="64px" color="white" height="128" fontSize="64px" color="white"
textAlignment="center" textAlignment="center"

View File

@@ -1,5 +1,5 @@
<Page> <Page backgroundColor="skyblue">
<StackLayout row="1" verticalAlignment="top"> <StackLayout row="1" verticalAlignment="top" backgroundColor="gold">
<Label backgroundColor="darkblue" originY="0" <Label backgroundColor="darkblue" originY="0"
tap="tapLabel" tap="tapLabel"
height="64" fontSize="32" color="skyblue" textAlignment="center" height="64" fontSize="32" color="skyblue" textAlignment="center"