Drawable.createFromXml(): implement InsetDrawable inflation

This commit is contained in:
Julian Winkler
2025-10-04 17:33:23 +02:00
parent a01c5e482a
commit 8dcaf3e1ef
3 changed files with 28 additions and 9 deletions

View File

@@ -272,6 +272,11 @@ public class Drawable {
drawable.inflate(resources, parser, attrs, theme);
return drawable;
}
case "inset": {
InsetDrawable drawable = new InsetDrawable();
drawable.inflate(resources, parser, attrs, theme);
return drawable;
}
}
return null;