谁能解释一下 Android XML 属性中问号的含义?
<TextView
style="?android:attr/windowTitleStyle"
More attributes
/>
最佳答案
问号表示它是对当前应用主题中资源值的引用。查看linuxtopia Android Dev Guide或 android.com Dev Guide有关更多信息。
\?
转义问号。
关于android - Android 的 XML 属性中的问号 (?),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7260588/