0% found this document useful (0 votes)
69 views2 pages

Android Drawable Calculation Scale Factors: These Calculations Are Only For Drawables, Not For Texts

The document provides scale factors for drawables on different Android display densities including mdpi, hdpi, xhdpi, xxhdpi, and xxxhdpi. It lists the scale factors to use to calculate the actual drawable sizes on each density from the base mdpi size. It also notes that these calculations are only for drawables and not text.

Uploaded by

Shekar S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views2 pages

Android Drawable Calculation Scale Factors: These Calculations Are Only For Drawables, Not For Texts

The document provides scale factors for drawables on different Android display densities including mdpi, hdpi, xhdpi, xxhdpi, and xxxhdpi. It lists the scale factors to use to calculate the actual drawable sizes on each density from the base mdpi size. It also notes that these calculations are only for drawables and not text.

Uploaded by

Shekar S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Android

Drawable Calculation Scale Factors


0.3333 0.5 0.6666 1 1.3333 0.5 0.75 1 1.5 2
mdpi hdpi xhdpi xxhdpi xxxhdpi mdpi hdpi xhdpi xxhdpi xxxhdpi

100 150 200 300 400 100 150 200 300 400
36 54 72 108 144 36 54 72 108 144
40 60 80 120 160 40 60 80 120 160
50 75 100 150 200 50 75 100 150 200
60 90 120 180 240 60 90 120 180 240
8 12 16 24 32 8 12 16 24 32
12 18 24 36 48 12 18 24 36 48
16 24 32 48 64 16 24 32 48 64
24 36 48 72 96 24 36 48 72 96
32 48 64 96 128 32 48 64 96 128

These calculations are only for drawables, not for texts


s
1 1.5 2 3 4 0.6666 1 1.3333 2 2.6666
mdpi hdpi xhdpi xxhdpi xxxhdpi mdpi hdpi xhdpi xxhdpi xxxhdpi

100 150 200 300 400 100 150 200 300 400
36 54 72 108 144 36 54 72 108 144
40 60 80 120 160 40 60 80 120 160
50 75 100 150 200 50 75 100 150 200
60 90 120 180 240 60 90 120 180 240
8 12 16 24 32 8 12 16 24 32
12 18 24 36 48 12 18 24 36 48
16 24 32 48 64 16 24 32 48 64
24 36 48 72 96 24 36 48 72 96
32 48 64 96 128 32 48 64 96 128

You might also like