mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
Merge pull request #7231 from NativeScript/mdonev/restore-ui-tests-pre-borderdrawable-outline-state
chore: update ui tests with androidElevation
This commit is contained in:
@ -46,7 +46,7 @@ Button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#s10 {
|
#s10 {
|
||||||
border-width: 5 0; border-color: black; background-color: white;
|
android-elevation: 0; border-width: 5 0; border-color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
#s11 {
|
#s11 {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<Label text="pixels" />
|
<Label text="pixels" />
|
||||||
<StackLayout borderWidth="1px" borderColor="black" horizontalAlignment="left" verticalAlignment="top" orientation="horizontal" padding="1px">
|
<StackLayout borderWidth="1px" borderColor="black" horizontalAlignment="left" verticalAlignment="top" orientation="horizontal" padding="1px">
|
||||||
<Label text="Label" borderWidth="1px" borderRadius="10px" borderColor="green" padding="1px" margin="1px" />
|
<Label text="Label" borderWidth="1px" borderRadius="10px" borderColor="green" padding="1px" margin="1px" />
|
||||||
<Button text="Button" borderWidth="1px" borderRadius="10px" borderColor="green" padding="1px" margin="1px" backgroundColor="orange" />
|
<Button text="Button" borderWidth="1px" borderRadius="10px" borderColor="green" padding="1px" margin="1px" androidElevation="0" />
|
||||||
<TextView text="Text View" borderWidth="1px" borderRadius="10px" borderColor="green" padding="1px" margin="1px" />
|
<TextView text="Text View" borderWidth="1px" borderRadius="10px" borderColor="green" padding="1px" margin="1px" />
|
||||||
<TextField text="Text Field" borderWidth="1px" borderRadius="10px" borderColor="green" padding="1px" margin="1px" />
|
<TextField text="Text Field" borderWidth="1px" borderRadius="10px" borderColor="green" padding="1px" margin="1px" />
|
||||||
<Image src="~/ui-tests-app/resources/images/gravatar.png" borderWidth="1px" borderRadius="10px" borderColor="green" padding="1px" margin="1px" />
|
<Image src="~/ui-tests-app/resources/images/gravatar.png" borderWidth="1px" borderRadius="10px" borderColor="green" padding="1px" margin="1px" />
|
||||||
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<StackLayout borderWidth="2px" borderColor="green" orientation="horizontal" padding="2px">
|
<StackLayout borderWidth="2px" borderColor="green" orientation="horizontal" padding="2px">
|
||||||
<Label text="Label" borderWidth="5px" borderRadius="10px" borderColor="black" padding="5px" margin="5px" />
|
<Label text="Label" borderWidth="5px" borderRadius="10px" borderColor="black" padding="5px" margin="5px" />
|
||||||
<Button text="Button" borderWidth="4px" borderRadius="10px" borderColor="black" padding="4px" margin="4px" backgroundColor="orange" />
|
<Button text="Button" borderWidth="4px" borderRadius="10px" borderColor="black" padding="4px" margin="4px" androidElevation="0" />
|
||||||
<TextView text="Text View" borderWidth="3px" borderRadius="10px" borderColor="black" padding="3px" margin="3px" />
|
<TextView text="Text View" borderWidth="3px" borderRadius="10px" borderColor="black" padding="3px" margin="3px" />
|
||||||
<TextField text="Text Field" borderWidth="2px" borderRadius="10px" borderColor="black" padding="2px" margin="2px" />
|
<TextField text="Text Field" borderWidth="2px" borderRadius="10px" borderColor="black" padding="2px" margin="2px" />
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
@ -32,7 +32,7 @@
|
|||||||
<Label text="device independent pixels" />
|
<Label text="device independent pixels" />
|
||||||
<StackLayout borderWidth="1" borderColor="black" horizontalAlignment="left" verticalAlignment="top" orientation="horizontal" padding="1">
|
<StackLayout borderWidth="1" borderColor="black" horizontalAlignment="left" verticalAlignment="top" orientation="horizontal" padding="1">
|
||||||
<Label text="Label" borderWidth="1" borderRadius="10" borderColor="green" padding="1" margin="1" />
|
<Label text="Label" borderWidth="1" borderRadius="10" borderColor="green" padding="1" margin="1" />
|
||||||
<Button text="Button" borderWidth="1" borderRadius="10" borderColor="green" padding="1" margin="1" backgroundColor="orange" />
|
<Button text="Button" borderWidth="1" borderRadius="10" borderColor="green" padding="1" margin="1" androidElevation="0" />
|
||||||
<TextView text="Text View" borderWidth="1" borderRadius="10" borderColor="green" padding="1" margin="1" />
|
<TextView text="Text View" borderWidth="1" borderRadius="10" borderColor="green" padding="1" margin="1" />
|
||||||
<TextField text="Text Field" borderWidth="1" borderRadius="10" borderColor="green" padding="1" margin="1" />
|
<TextField text="Text Field" borderWidth="1" borderRadius="10" borderColor="green" padding="1" margin="1" />
|
||||||
<Image src="~/ui-tests-app/resources/images/gravatar.png" borderWidth="1" borderRadius="10" borderColor="green" padding="1" margin="1" />
|
<Image src="~/ui-tests-app/resources/images/gravatar.png" borderWidth="1" borderRadius="10" borderColor="green" padding="1" margin="1" />
|
||||||
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
<StackLayout borderWidth="2" borderColor="green" orientation="horizontal" padding="2">
|
<StackLayout borderWidth="2" borderColor="green" orientation="horizontal" padding="2">
|
||||||
<Label text="Label" borderWidth="5" borderRadius="10" borderColor="black" padding="5" margin="5" />
|
<Label text="Label" borderWidth="5" borderRadius="10" borderColor="black" padding="5" margin="5" />
|
||||||
<Button text="Button" borderWidth="4" borderRadius="10" borderColor="black" padding="4" margin="4" backgroundColor="orange" />
|
<Button text="Button" borderWidth="4" borderRadius="10" borderColor="black" padding="4" margin="4" androidElevation="0" />
|
||||||
<TextView text="Text View" borderWidth="3" borderRadius="10" borderColor="black" padding="3" margin="3" />
|
<TextView text="Text View" borderWidth="3" borderRadius="10" borderColor="black" padding="3" margin="3" />
|
||||||
<TextField text="Text Field" borderWidth="2" borderRadius="10" borderColor="black" padding="2" margin="2" />
|
<TextField text="Text Field" borderWidth="2" borderRadius="10" borderColor="black" padding="2" margin="2" />
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
|
@ -20,9 +20,9 @@
|
|||||||
border-color: gray;
|
border-color: gray;
|
||||||
}
|
}
|
||||||
.control Button {
|
.control Button {
|
||||||
|
android-elevation: 0;
|
||||||
border-width: 1 1 0 0;
|
border-width: 1 1 0 0;
|
||||||
border-color: gray;
|
border-color: gray;
|
||||||
background-color: white;
|
|
||||||
font-size: 9;
|
font-size: 9;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
height: 0;
|
height: 0;
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
#button1 {
|
#button1 {
|
||||||
border-color: transparent;
|
android-elevation: 0;
|
||||||
|
border-color: rgba(0, 0, 0, 0);
|
||||||
border-width: 3;
|
border-width: 3;
|
||||||
background-color: white;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#button2 {
|
#button2 {
|
||||||
|
android-elevation: 0;
|
||||||
border-color: rgba(0, 0, 0, 0.5);
|
border-color: rgba(0, 0, 0, 0.5);
|
||||||
border-width: 3;
|
border-width: 3;
|
||||||
background-color: white;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#button3 {
|
#button3 {
|
||||||
|
android-elevation: 0;
|
||||||
border-width: 3;
|
border-width: 3;
|
||||||
background-color: white;
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user