-1

Possible Duplicate:
Application Skeleton to support multiple screen

i am developing an android app. there are different folder created for different size in res folder like layout-large,layout-small,. its working fine except small screen size. In small screen size its not taking layout from layout-small folder. what may be reasons.In small screen size we are considering 240*400.

Community
  • 1
  • 1
Nitesh Kabra
  • 509
  • 2
  • 9
  • 17

2 Answers2

0

Try like this..

<manifest ... >
    <compatible-screens>
        <!-- all small size screens -->
        <screen android:screenSize="small" android:screenDensity="ldpi" />
        <screen android:screenSize="small" android:screenDensity="mdpi" />
        <screen android:screenSize="small" android:screenDensity="hdpi" />
        <screen android:screenSize="small" android:screenDensity="xhdpi" />
        <!-- all normal size screens -->
        <screen android:screenSize="normal" android:screenDensity="ldpi" />
        <screen android:screenSize="normal" android:screenDensity="mdpi" />
        <screen android:screenSize="normal" android:screenDensity="hdpi" />
        <screen android:screenSize="normal" android:screenDensity="xhdpi" />
    </compatible-screens>
    ...
    <application ... >
        ...
    <application>
</manifest>

For more information follow this, this or this

Janmejoy
  • 2,721
  • 1
  • 20
  • 38
0

Small screen size refers to the physical dimensions of the screen, according to the documentation it must be below 3 to 3.5 inch.

The number of pixels does not really matter (apart from obvious correlations).

Henry
  • 42,982
  • 7
  • 68
  • 84