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">
|
||||
<AbsoluteLayout height="100%">
|
||||
<Page loaded="pageLoaded" backgroundColor="skyblue">
|
||||
<AbsoluteLayout height="100%" backgroundColor="gold">
|
||||
<TextView id="details"
|
||||
padding="12" paddingBottom="24"
|
||||
top="{{ detailsHeight }}" width="100%"
|
||||
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"
|
||||
backgroundColor="MidnightBlue" color="white"
|
||||
textAlignment="center" verticalAlignment="center"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<Page>
|
||||
<AbsoluteLayout>
|
||||
<Page backgroundColor="skyblue">
|
||||
<AbsoluteLayout backgroundColor="gold">
|
||||
<Label originX="0" originY="0" top="0" left="0"
|
||||
height="128" fontSize="64px" color="white"
|
||||
textAlignment="center"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<Page>
|
||||
<StackLayout row="1" verticalAlignment="top">
|
||||
<Page backgroundColor="skyblue">
|
||||
<StackLayout row="1" verticalAlignment="top" backgroundColor="gold">
|
||||
<Label backgroundColor="darkblue" originY="0"
|
||||
tap="tapLabel"
|
||||
height="64" fontSize="32" color="skyblue" textAlignment="center"
|
||||
|
||||
Reference in New Issue
Block a user