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

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

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

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