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
Related Q & A:
- Am I eligible for Financial aid if I'm not a Resident?Best solution by thesalliemaefund.org
- What's a good job for me if I'm not a 'people' person?Best solution by Yahoo! Answers
- How do I know if I'm having a mental breakdown?Best solution by Yahoo! Answers
- How many stamps do I put if I'm sending a letter from California to someone in Canada?Best solution by Yahoo! Answers
- If I have a subscription to Seventeen and I'm moving out, how do I tell them my address has changed?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.