In android, we can highlight the button through custom images. Here is a example that will give you about how to set a image when the button is focused, pressed and focused pressed. we can set each image for each stage. Example for Android Button Highlight :-
Here “@drawable/buttonhighlight” is a XML file located in res/drawable folder. (see below image blue color highlighted) Create a XML file in res/drawable folder (ex:- buttonhighlight.xml) and write the code as
In android, we can highlight the button through custom images. Here is a example that will give you about how to set a image when the button is focused, pressed and focused pressed. we can set each