Hi guys,
I am trying to make a button with background image.
<Button android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5px"
android:layout_gravity="center_vertical"
android:id="@+id/button1"
android:background="@drawable/imagename">
</Button>
I wanna make it would be different (shadow, brightness etc...) when user click or touches on the button.
You know standard buttons are changed color when focused or clicked. I am trying to make like this.
How to make it ?
Thanks in advance.