Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Developing for multiple devices

  • 16-10-2013 06:25PM
    #1
    Registered Users, Registered Users 2 Posts: 3,078 ✭✭✭


    I am interested to know of techniques that people use to accommodate the various types of Android devices, mostly with regard to screen size and pixel density.

    I am going down the line of using one drawables folder with (xml) shapes. Size values are taken from multiple values folders.

    Also multiple layout folders.

    When creating the multiple layout and values folders, I go for:

    orientation_screensize_pixeldensity.

    Do ye think that screen size and pixel density is enough?

    Or should one accomodate significant differences in say a large screen size which in theory can be 4 - 7 inches, and have any pixel density?

    screens-ranges.png

    URL="http://developer.android.com/guide/practices/screens_support.html"]Image source[/URL

    I would be most interested in solutions which don't use fragments in Android 3.0 (API level 11).


Advertisement