How to drag multiple images in Android?

I'm designing a game for Android, but I'm not able to display the graphics and images to support maximum Android devices. What is the solution?

  • Images are not displaying the full-screen size on many devices.

  • Answer:

    Do not use predefined sizes for your views if that is what you did. Use things like "match_parent" or "fill_parent" in your layouts, if you want to use the whole area of the parent, or "wrap_content" if you simply want to display your view in the standard size of it's content. Then refer to your views in your activity by using by findViewById(...). Get information about it's width and height if you need and process your needs accordingly. Given the information in the question this all I could say.

Nishant Singh at Quora Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.