Android - Fade out bitmap image on canvas
问题 I am drawing a scaled bitmap onto a canvas and would like to fade my image out at a specified time. Basically, when my character image goes over a certain section of the canvas, I require the character image to slowly fade away (3 seconds), before the page automatically re-directs to the next java class. Currently, my image simply redirects to the new java class, please see below some code to how I am creating my image. Resources res = getResources(); float px = TypedValue.applyDimension