0

I am trying to make an application for tablet only . Can any one specify what should be the exact folder structure of res (resource folder ) for tablets

Bora
  • 1,933
  • 3
  • 28
  • 54

1 Answers1

0

In all my tablet apps this is the structure I have, a drawable folder for xml created drawables,nine patch etc Then I have images for both Landscape and Potrait all meeting the ldpi,mdpi and hdpi. So the res folder has the following

drawable

drawable-land-ldpi drawable-land-mdpi drawable-land-hdpi

drawable-port-ldpi drawable-port-mdpi drawable-port-hdpi

James Wahome
  • 588
  • 11
  • 31
  • what about layout folder structure ? – Bora Jun 17 '13 at 06:18
  • The layout folder remains as is nothing fancy to it. Android will automatically pick the relevant image from the drawables folder based on screen size,orientation, density etc. You do not have write multiple layout files to cater for the change in drawable size. – James Wahome Jun 17 '13 at 06:44