android - How do I organize my activity layouts with the smallest possible layout folders? -


i have 3 layout files activity:

  • layout-small-ldpi
  • layout-normal-mdpi
  • layout (for rest)

when visiting activity normal-hdpi mobile, android pulled layout normal-mdpi/. put generic layout new configuration: layout-normal-hdpi/ seems trick of pulling layout sizes>=normal && density>=hdpi. seems pull normal-hdpi layout devices of large-mdpi configuration fine me.

will solution cause me troubles? there better way keeping number of layout folders minimum of 3? have read the docs it's nice have second opinion.

if understand correctly, want support many screen sizes possible little layouts possible. here link pdf should out. scaling android apps white paper


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -