tags:

views:

157

answers:

1

Hi,

In android, there are different sub-directory under 'res' * layout * layout-finger * layout-land-finger

Can you please explain what are the difference between these directories?

Thank you.

+1  A: 

The official explanation is in the SDK documentation. Assuming that these three are the only layout resource directories:

  • Layouts in res/layout-land-finger/ will be used if the device has a finger-friendly touchscreen (i.e., capacitive, versus a resistive touchscreen or no touchscreen) and is being held in landscape orientation.
  • Layouts in res/layout-finger/ will be used if the device has a finger-friendly touchscreen and is not being held in landscape orientation.
  • Layouts in res/layout/ will be used if the device has a resistive or no touchscreen
CommonsWare