Merge "xhdpi" into froyo

This commit is contained in:
Dianne Hackborn
2010-06-04 16:32:01 -07:00
committed by Android (Google) Code Review

View File

@@ -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++;