JusJJ 0 Posted October 25, 2023 I have an android app for which I would like two functions for one button. The button would be an image that changes according to the event. What would be the best way to do such a function? Share this post Link to post
Serge_G 87 Posted October 26, 2023 Easy way changing imageindex, but need a ImageList or equivalent. Personally, most often, I use SVG directly or loaded in resource You can also change, add/change buttonstyle and applystylelookup Share this post Link to post
Roger Cigol 103 Posted October 26, 2023 Or have two buttons in the same position on the screen and make only one visible at any one time.... Share this post Link to post
Alexander Halser 26 Posted October 30, 2023 Place 2 images inside the button and make them visible/invisible at runtime. Share this post Link to post