eclipse - Android drawable stops being reachable -
the weird one:
ref
drawable image = getresources().getdrawable(r.drawable.mypic);
at first running fine, except image (which draw) missing shade. edit image away eclipse , replace old mypic.png
new one. eclipse refused see new image, if had cached old 1 , using that. change mypic.png
mypic1.png
, line of code kept returning image null
. gave , changed image name mypic.png
(i figure i'd let use cached one), eclipse kept on returning image = null
.
any appreciated.
after modifying png images f5 on res folder eclipse see the new image
Comments
Post a Comment