From: Dianne Hackborn Date: Fri, 4 Jun 2010 21:36:39 +0000 (-0700) Subject: xhdpi X-Git-Url: https://git.saurik.com/android/aapt.git/commitdiff_plain/bd8c05dde553c7da896332f1fae7b3c40da9951c xhdpi This is only a tool (aapt) change, and does not impact any current code. Change-Id: I562063f612af919eaadba8ac4868a95ff41ac840 --- diff --git a/AaptAssets.cpp b/AaptAssets.cpp index fc655a7..efc9619 100644 --- a/AaptAssets.cpp +++ b/AaptAssets.cpp @@ -888,6 +888,11 @@ bool AaptGroupEntry::getDensityName(const char* name, return true; } + if (strcmp(name, "xhdpi") == 0) { + if (out) out->density = ResTable_config::DENSITY_MEDIUM*2; + return true; + } + char* c = (char*)name; while (*c >= '0' && *c <= '9') { c++;