Android Question Statelist Drawable - multiple copies

Rusty

Well-Known Member
Licensed User
Longtime User
I have an array of buttons and am assigning them as Statelistdrawable. In order for each button to respond uniquely, i have to create an array of SLD definitions.
Question: Since i am creating an array of SLD, are the bitmaps that are contained in the SLD also duplicated in memory for each SLD? Or do the SLD's store a reference to the bitmap(s), thus no huge amount of memory is used for the array?
Thanks,
Rusty
 
Top