locked
How to make app to fit in all resolution

    Question

  • Hi I have created an app . It works well in tablet and screens below 21 inch resolution. when  I moved to 23 inch and above resolution the background is correct and the app contents are dislocating.

    Original

    the above is the screen shot of app in corect format.

    When it works in 23 inch and above it will display as follows....

     Dislocated

    Anyone Help me to fix this issue and tell the way to work the app in all kind of resolutions


    N.P.SARAVANA KUMAR

    Saturday, November 16, 2013 6:43 AM

Answers

  • i would write a short javascript that:

    1. gets screen resolution first
    2. based on height will calculate y position for the boxes
    3. based on width will calculate boxes margin
    4. based on width will center boxes container
    5. will then apply to css via code

    hope this helps

    cheers

    Saturday, November 16, 2013 9:15 AM