mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
test: add colors to tests
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user