1

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

Shyam
  • 6,376
  • 1
  • 24
  • 38
varghesekutty
  • 997
  • 2
  • 11
  • 23

1 Answers1

0

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

Community
  • 1
  • 1
Niko
  • 8,093
  • 5
  • 49
  • 85