The Android Screen Fragmentation Myth(

over 7 years ago from Matt Achariam, Intent Renderer

  • Christoph OChristoph O, over 7 years ago

    I think Android is shooting itself in the foot here by making things look more complicated than they might be. Take a look at the documentation for screen support.

    They split phone sizes (2-10") into four generalized sizes (small, normal, large, xlarge). Then they split screen density into generalized densities (ldpi, mdpi, hdpi, xhdpi) based on 3:4:6:8 ratios. The example on the page lists 5 different layout XML files (the 4 previously mentioned + extra large landscape orientation) for different sizes, and three folders for image assets in different densities.

    But, there are tablet layouts for Android 3.2+, which use a completely different system based on size qualifiers where you can provide minimum/maximum pixel sizes for layouts.

    Media queries and responsive web design seem very simple in comparison.

    With a few Android projects under your belt, you have probably internalized how everything works, and which parts are fringe cases you can ignore. But if you're new to this (or a journalist/analyst), it seems like an absolute mess. Simply rewriting this documentation and providing better tutorials and resources could go very far to clarify the situation.

    0 points