Ramakrishna
Ramakrishna

Reputation: 4096

change the background image in gallery

i shows a buttons in gallery view for scrolling purpose. if i clicked one button(ex:button1) then change the button1 background and then i clicked another button(ex:button2) then change the background of the button2 and also get the previous background of the button1. So please tell me how to change the background in gallery.

Best Regards.

Thank you in advance.

Upvotes: 0

Views: 3443

Answers (1)

Kiril Kirilov
Kiril Kirilov

Reputation: 11257

View class has a setBackgroundResource method. I suppose that this is what you are looking for.

Upvotes: 1

Related Questions