Using java Syntax Highlighting
- Button b;
- b.setBackgroundResource(R.drawable.bg_img);
Parsed in 0.030 seconds, using GeSHi 1.0.8.4
does anybody know how the get the id for the image back out of the button?
I tried
b.getBackground();
and
b.getResources();
but i cannot figure out how to get to the id to see what image is set as the background of the button.





.

