I have an XML file called playnext. I added this file as a background to my button.XML include two images that is for button press and button release.I need to add border to these two images using the XML.
XML code
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="false" android:drawable="@drawable/ic_remote_playnext" ></item>
<item android:state_pressed="true" android:drawable="@drawable/next_pressdown" ></item>
</selector>
Please tell me how to add a border to this? Is there is any other way to add borders to button?