Android. How do I keep a button displayed as PRESSED until the action created by that button is finished?
- by user527405
I have button_focused, button_pressed, and button_normal images. When I press the button, the button_pressed image is displayed and the action related to the button pressing begins.
When I quit pressing the button, the action continues but the button returns to button_normal image being displayed.
How can I set the button image being displayed to button_pressed during the entire action then reset to the button_normal image?
Thank you for your time