是什么?在Android的XML意味着
问题描述:
可能重复:
Question mark (?) in XML attributes for Android是什么?在Android的XML意味着
<TextView android:id="@+android:id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceLarge"
android:ellipsize="marquee"
android:fadingEdge="horizontal" />
什么是 “机器人:ATTR/textAppearanceLarge” 吗?它有名字吗?为什么不使用“@”代替?我可以在我自己的代码中使用这种语法吗?我在哪里可以阅读更多关于此?由于我不知道它是什么,所以很难找到关于它的更多信息。任何指导将不胜感激。