2021年3月9日星期二

Android - Two round ImageButtons with fill color, stroke and icon

I am trying to create 2 Buttons/ImageButtons in Android. Both of them have an icon in them. First button has stoke, and second button is filled. I have tried creating drawable and some other combinations, but I am finding it hard to get the combinations right. Can anyone please help in generating the xml for the buttons? Following are the designs of the buttons.

Thanks in advance.

enter image description here

enter image description here

https://stackoverflow.com/questions/66557358/android-two-round-imagebuttons-with-fill-color-stroke-and-icon March 10, 2021 at 10:02AM

没有评论:

发表评论