Xml namespace declaration: auto-substitute package name

前端 未结 1 1998
[愿得一人]
[愿得一人] 2021-01-30 08:52

I have an android project with multiple build targets (using ant). For testing purposes, those build targets all have different package names (so my package name is com.mycompan

1条回答
  •  没有蜡笔的小新
    2021-01-30 09:24

    Turns out that there is a postfix for that: res-auto.

    So all you need to do is write

    
    

    This will automatically use current package name.

    0 讨论(0)
提交回复
热议问题