Skip to main content
deleted 8 characters in body; edited title
Source Link

Android Specifications : What are the integer values offor "small" screen size, "normal" screen size, "ldpi"ldpi, "mdpi"mdpi, "hdpi"hdpi?

Android has this document where they define thee terms for screen size, and pixel density such as screenSize="small", "ldpi". Here is the link to that document:

https://developer.android.com/guide/practices/screens-distribution

Here is the section of definitions:

<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>

But, I don't know the specific integer values offor "small" screen size, "normal" screen size, "ldpi"ldpi, "mdpi"mdpi, "hdpi"hdpi, "xhdpi"xhdpi from that document. Can anyone please tell me the integer values of these terms ?

Android Specifications : What are the integer values of "small" screen size, "normal" screen size, "ldpi", "mdpi", "hdpi"?

Android has this document where they define thee terms for screen size, and pixel density such as screenSize="small", "ldpi". Here is the link to that document:

https://developer.android.com/guide/practices/screens-distribution

Here is the section of definitions:

<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>

But, I don't know the specific integer values of "small" screen size, "normal" screen size, "ldpi", "mdpi", "hdpi", "xhdpi" from that document. Can anyone please tell me the integer values of these terms ?

Android Specifications : What are the integer values for "small" screen size, "normal" screen size, ldpi, mdpi, hdpi?

Android has this document where they define thee terms for screen size, and pixel density such as screenSize="small", "ldpi". Here is the link to that document:

https://developer.android.com/guide/practices/screens-distribution

Here is the section of definitions:

<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>

But, I don't know the specific integer values for "small" screen size, "normal" screen size, ldpi, mdpi, hdpi, xhdpi from that document. Can anyone please tell me the integer values of these terms ?

Source Link

Android Specifications : What are the integer values of "small" screen size, "normal" screen size, "ldpi", "mdpi", "hdpi"?

Android has this document where they define thee terms for screen size, and pixel density such as screenSize="small", "ldpi". Here is the link to that document:

https://developer.android.com/guide/practices/screens-distribution

Here is the section of definitions:

<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>

But, I don't know the specific integer values of "small" screen size, "normal" screen size, "ldpi", "mdpi", "hdpi", "xhdpi" from that document. Can anyone please tell me the integer values of these terms ?