auto import from //depot/cupcake/@137055

This commit is contained in:
The Android Open Source Project
2009-03-02 22:54:33 -08:00
parent 15ab3eae2e
commit 3dec7d563a
311 changed files with 18136 additions and 4075 deletions

View File

@@ -739,6 +739,8 @@ public abstract class Drawable {
if (r != null) {
((BitmapDrawable) drawable).setDensityScale(r.getDisplayMetrics());
}
} else if (name.equals("nine-patch")) {
drawable = new NinePatchDrawable();
} else {
throw new XmlPullParserException(parser.getPositionDescription() +
": invalid drawable tag " + name);