提交 fad0091d 编写于 作者: S Sergey Toshin 提交者: skylot

Prevents generation of NSes second time in wrong place

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册