eclipse - How I can change the Background in runtime in Android? -
i want make simple program 2 radiobutton (rd1 , rd2
), can change background picture s1, or s2, depend on selected. how can make it? tried background.setbackground (background radiogroup's name), didn't work.
try changing android wallpaper.
and if want change background current activity means
if layout lay means then,
lay.backgrounddrawable(r.drawable.abc);
in onclick listenerof ur radio button
sure dude..let me know happened...
thank you.
Comments
Post a Comment