Android SDK: Create image on touch
        Posted  
        
            by dagonal
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by dagonal
        
        
        
        Published on 2010-04-27T03:13:15Z
        Indexed on 
            2010/04/27
            6:13 UTC
        
        
        Read the original article
        Hit count: 279
        
Hello,
I'm a bit stumped here, I'm trying to make it so an image (already in the drawable folder) gets created everytime you touch the screen and removed when the finger is lifted. I have the touch part coded already, overriding the onTouch method with a couple switch cases that handle each type of action (down, up, move, etc). But I can't for the life of me figure out how to make the image appear and then disappear with the coordinates (matrix?) of where the finger is.
Any help would be greatly appreciated!
© Stack Overflow or respective owner