Commit fad0091d authored by Sergey Toshin's avatar Sergey Toshin Committed by skylot

Prevents generation of NSes second time in wrong place

parent b861151f
......@@ -386,11 +386,7 @@ public class BinaryXMLParser extends CommonBinaryParser {
// reference custom processing
String name = styleMap.get(attrValData);
if (name != null) {
writer.add("@");
if (attributeNS != -1) {
writer.add(getAttributeNS(attributeNS)).add(':');
}
writer.add("style/").add(name.replaceAll("_", "."));
writer.add("@style/").add(name.replaceAll("_", "."));
} else {
FieldNode field = localStyleMap.get(attrValData);
if (field != null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment