I have designed buttons with designer and the initial image is loaded with designer. I have about 30 buttons and each has its own image. Using toggle button I would like to swap images on all 30 buttons and vise versa.
You should define a BitmapDrawable and set this one to all Button Backgrounds.
If you change the BitmapDrawable.Bitmap property it should change on all Buttons.
I haven't tested it but it should work.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.