Is possible to declare attributes with the same name for different views?
===

I've next problem. I create next attr.xml :

    <?xml version="1.0" encoding="utf-8"?>
    <resources>
        <declare-styleable name="PublicMap">
            <attr name="public_map" format="boolean"/>
        </declare-styleable>
        <declare-styleable name="SceneMap">
            <attr name="public_map" format="boolean"/>
            <attr name="preview_mode" format="boolean"/>
        </declare-styleable>
    </resources>

now project can not be compiled. Error is "error: Attribute "public_map" has already been defined". Is not possible to declare attributes with the same name for different views?