how to give border and border-radius to stacklayout in nativescript
Via html:
<StackLayout borderRadius="30" borderColor="red" borderWidth="3"></StackLayout>
Via css:
StackLayout {
border-color: red;
border-width: 3;
border-radius: 30;
}
In nativescript supported css properties are border-width, border-color and border-radius. Tag border alone is not possible nor any solid selection.
More info:
https://docs.nativescript.org/ui/styling