Search code examples
android-layoutembedded-resourceandroid

Which resource folders do you recomment for tablet app?


At the moment, I set these resource folders:

/res
    /drawable
    /drawable-large-hdpi
    /layout
    /layout-port
    /layout-large-hdpi

large-hdpi folders are for Galaxy Tab, while others are for other tablets.

What additional resource folders do you suggest to add?


Solution

  • We use large-land, large-port, xlarge-land, & xlarge-port, but I would not recommend this.

    I would recommend filtering drawables based on pixel density & filtering layouts based on screen size. Also, read THIS.