]> git.saurik.com Git - android/aapt.git/blobdiff - AaptAssets.cpp
am 5474902f: Merge "xhdpi" into froyo
[android/aapt.git] / AaptAssets.cpp
index efc961998e6b9c902da1694fe7d7cd906be5cd0f..d6cfb12d0b973d053076a29e3f7c6f2f3e13a4e7 100644 (file)
@@ -766,6 +766,11 @@ bool AaptGroupEntry::getScreenLayoutSizeName(const char* name,
                 (out->screenLayout&~ResTable_config::MASK_SCREENSIZE)
                 | ResTable_config::SCREENSIZE_LARGE;
         return true;
+    } else if (strcmp(name, "xlarge") == 0) {
+        if (out) out->screenLayout =
+                (out->screenLayout&~ResTable_config::MASK_SCREENSIZE)
+                | ResTable_config::SCREENSIZE_XLARGE;
+        return true;
     }
 
     return false;