I am developing a small game. I need to get the screen width and height and by comparing those values, I need to move the image view to specific positions of the screen. Is it possible to do so?? Please help
Thank you
I am developing a small game. I need to get the screen width and height and by comparing those values, I need to move the image view to specific positions of the screen. Is it possible to do so?? Please help
Thank you
With little searching you can find many solutions to get all pieces you need to implement what you want:
For screen size: Get screen dimensions in pixels
Drag and drop: http://www.vogella.com/tutorials/AndroidDragAndDrop/article.html
Bitmap drawing: Android: Drawing Bitmap in Specific Location, Refusal to Draw