adjust screen

You must Login before you can answer or comment on any questions.

Hello

As I can make my app fits all screens of android devices.

thanks

regards

— asked 11 months ago by antonio medel
1 Comment
  • This is a giant topic; nobody's going to answer this for you in a simple forum post.

    Learn about the resolution-specific resource directories; use those to provide images appropriate for different resolutions.

    Learn about resolution-independent units of measurement, like dp.

    Learn about detecting the dimensions and screen density of the device with Ti.Platform.displayCaps and use that to compute the desired dimensions of your components.

    Learn how to manage orientations via settings in tiapp.xml.

    Most of all, become a resourceful programmer who doesn't ask such simplistic questions. Demonstrate to us that you've at least tried, and then come back with specific questions.

    Good luck!

    — commented 11 months ago by Jason Priebe

2 Answers

U can just try :

Ti.Platform.displayCaps
this will give you the dimensions of device in terms of height and width and according to that set the positions of your views.

Your Answer

Think you can help? Login to answer this question!