Create custom button in android
Download Code Create custom button in android Maybe you would like to create custom button. We can use custom android buttons for a better layout. Here I’m going to show how to customize Android buttons. In the following image you can see how our buttons will look like. 1) Create button_disable_yellow.xml file in drawable folder. <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" > <corners android:radius="25dp" /> <solid android:color="#ACAFAF" /> </shape> 2) Create button_enable_yellow.xml file in drawable folder. <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item><layer-list> ...