views:

32

answers:

0

I know there is the selector method for the pressed and normal state xml method. However, for that method, you always need 2 image resources. So for every button, you need an alternate one for the pressed state. If you have 25 buttons, you will need 50 buttons.

Is there any way to do this dynamically?