Although the negatives are inherent in the language extension approach, some of the positives could apply to both the annotation and XML styles in the future.
虽然语言扩展方法生来就有不足,但是它的一些优点将来也可以应用到注释和XML风格上。
Breaking from the KISS style of creating the XML file, you can also build a hierarchy of styles and apply them to components.
除了在创建XML文件时使用KISS式样之外,还可以构建分层次的一些式样,并将这些式样应用于组件中。
To facilitate this reuse and avoid repeating text and style values, XML blocks at the top of the XML were set aside to specify reusable values and styles.
为了能够重用,并不让文本和样式值重复,XML 顶部的 XML 代码片段专门指定可重用的值和样式。
应用推荐