When I set android:background="@android:color/transparent, it sets my buttons background to transparent, but the outline of the button disappears. How do I set it so that the background is transparent but there is still an outline?
When I set android:background=@android:color/transparent , it sets my buttons background to transparent, but the
Share
You can use a custom selector that uses different nine patch image for different states of the button.
This link might be helpful
You might use this image…
I hope it helps..