String.xml中product屬性使用

Android的資源文件string.xml會出現下面同名的字符串,以下所示ui   <string name="build_type" product="tv">"智能電視"</string> <string name="build_type" product="phone">"智能手機"</string> 不一樣的product就會取不一樣的值。spa product的值在對應的device目
相關文章
相關標籤/搜索