Ich habe Schwierigkeiten beim Entfernen des Rahmens auf einer Schaltfläche, die sich im Nativescript-CardView-Plugin befindet.So entfernen Sie Schaltflächenränder in Nativescript CardView auf Android?
html
<CardView #item elevation="50" margin="10">
<GridLayout rows="auto, auto, auto" columns="*, *, *">
<Image src="~/images/shop.jpg" stretch="aspectFit" colSpan="3" row="0" ></Image>
<Button text="" class="Material btn" row="1" col="0" ></Button>
<Button text="" class="Material btn" row="1" col="1" ></Button>
<Button text="" class="Material btn" row="1" col="2" ></Button>
</GridLayout>
</CardView>
css
.btn {
font-size: 20;
margin:4;
border-color: transparent;
border: 0;
border-width: 0;
border-style: none;
background-color: transparent;
padding:5px;
}
border-width: 0.1 hat der Trick! – Misha