You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
Drawable: fix theme not getting passed to newly inflated drawables
When Theme support was added, not everything was immediately updated to use theme information properly. This was fixed in a lot of places since then, but it seems not here.
This commit is contained in:
@@ -2216,7 +2216,7 @@ public class Resources {
|
||||
try {
|
||||
XmlResourceParser rp = loadXmlResourceParser(
|
||||
file, id, value.assetCookie, "drawable");
|
||||
dr = Drawable.createFromXml(this, rp);
|
||||
dr = Drawable.createFromXml(this, rp, theme);
|
||||
rp.close();
|
||||
} catch (Exception e) {
|
||||
Trace.traceEnd(Trace.TRACE_TAG_RESOURCES);
|
||||
|
||||
Reference in New Issue
Block a user