hello
im new at developing with android and i have a little problem with my app.
first i have an activity with some elements on it and one button
on button click it changes to a new activity with 5 imagebuttons on it.
i selected an image for one of these buttons.
for another button i wanted to select the image on runtime via source code.
Button bt11 = (Button)findViewById(R.id.bt11);
bt11.setBackgroundResource(R.drawable.a);
as result i see nothing - the new image is not on the button
i think i havent seen something important, but i dont check this
thanks for your help
if you dont understand something, please let me know it



