Currently per default, I have 3 drawables in my project folder namely: drawable-hdpi,drawable-ldpi,drawable-mdpi. Each folder has a image icon.png...
NOw I want to show the image on the screen, see codes below
- Code: Select all
@Override
protected void onDraw(Canvas canvas) {
Paint background = new Paint();
canvas.drawPicture(getResources(),R.drawable.icon);
}
The code above generates an error; "Link all references for a local rename (does not
change references in other files)"
what does this mean?
Please help!!!!
thanks a lot
-rjuy



