Java – button with rounded corners in Android
•
Android
I want to create buttons such as the register and login buttons
>Using shape drawable
The results so far are not satisfactory
resolvent:
Try this –
<shape android:shape="rectangle">
<corners android:radius="30dp"/>
<solid android:color="@android:color/black"/>
</shape>
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码