Open tempurai opened 6 years ago
Have the same problem on Android
<StackLayout *ngFor="let workout of workouts" [ngStyle]="{'background-image': workout.background }" class="workout-box"> <Label [text]="workout.name"></Label> </StackLayout>
The background disapears when I add shadow
I have the same problem.
+1
Hi guys.. you need set bg color in a variable AndroidData or IOSData Exemple:
btnPrincipalShadow: AndroidData = {
elevation: 6,
bgcolor: "#1e3a3d",
shape: ShapeEnum.OVAL
};
Here i set elevation level, the bgColor and the shape if you are using border radius use the shape oval.
and then put in your html
[shadow]="btnPrincipalShadow"
+1
+1
Which platform(s) does your issue occur on?
iOS emulator
Is there any code involved?
basically I wish to have both shadow and border radius on StackLayout. Yet, since they don't work together, I just wondering is there any workarounds?