I'd like my button to have a lower border plus it had the states of the sample button pressed, not pressed would be another color ...
I'm trying to do all this in my drawable xml to set a background for my button. Here is the drawable xml:
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="rectangle">
<solid android:color="#362E2E" />
</shape>
</item>
<item android:bottom="3dp" >
<shape android:shape="rectangle">
<solid android:color="#2a5aa4" />
</shape>
</item>
<selector >
<!-- pressed -->
<item android:drawable="@android:color/transparent" android:state_pressed="true"/>
<!-- focused -->
<item android:drawable="#362E2E" android:state_focused="true"/>
<!-- default -->
<item android:drawable="#362E2E"/>
</selector>
How can I do this?