Skip to content

Instantly share code, notes, and snippets.

@vovkab
Last active February 2, 2020 11:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vovkab/9c439c0e140742de6fc4 to your computer and use it in GitHub Desktop.
Save vovkab/9c439c0e140742de6fc4 to your computer and use it in GitHub Desktop.
Android device configurations
Google devices info:
https://design.google.com/devices/
===================== PHONES ======================
Nexus S:
{1.0 0mcc0mnc en_US sw320dp w320dp h460dp nrml port finger qwerty/v/v dpad/v s.4}
Nexus 4: xhdpi
{1.0 310mcc?mnc en_US ldltr sw384dp w384dp h567dp 320dpi nrml port finger -keyb/v/h -nav/h s.5}
Nexus 5: xxhdpi
{1.0 310mcc260mnc en_US ldltr sw360dp w360dp h567dp 480dpi nrml port finger -keyb/v/h -nav/h s.31}
Nexus 6: xxhdpi - xxxhdpi
{1.0 310mcc260mnc en_US ldltr sw411dp w411dp h658dp 560dpi nrml port finger -keyb/v/h -nav/h s.209}
Nexus 6p: xxhdpi - xxxhdpi
{1.0 310mcc260mnc en_US ldltr sw411dp w411dp h659dp 560dpi nrml port finger -keyb/v/h -nav/h s.13}
Note:
Nexus 6 has a quantized density of 560 dpi, which falls in between the xxhdpi and xxxhdpi primary density buckets.
For the Nexus 6, the platform will scale down xxxhdpi assets, but if those aren’t available, then it will scale up xxhdpi assets.
===================== TABLETS =====================
Nexus 7: tvdpi
{1.0 310mcc?mnc en_US sw600dp w961dp h528dp 213dpi lrg land finger -keyb/v/h -nav/h s.8}
Nexus 7 2013: xhdpi
{1.0 310mcc?mnc en_US sw600dp w960dp h527dp 320dpi lrg land finger -keyb/v/h -nav/h s.59}
Nexus 10: xhdpi
{1.0 310mcc?mnc en_US sw800dp w1280dp h727dp 320dpi xlrg land finger -keyb/v/h -nav/h s.19}
Xoom: mdpi
{1.0 0mcc0mnc en_US sw800dp w1280dp h752dp 160dpi xlrg land finger -keyb/v/h -nav/h s.4}
===================== GOOGLE TV =====================
Google TV 720p: long-tvdpi
{1.0 0mcc0mnc en_US sw516dp w922dp h516dp 213dpi lrg long land television -touch qwerty/v/v dpad/v s.1}
Google TV 1080p: long-xhdpi
{1.0 0mcc0mnc en_US sw516dp w922dp h516dp 320dpi lrg long land television -touch qwerty/v/v dpad/v s.1}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment