What is it? in Android XML means

Possible duplicate:
Question mark (?) In XML attributes for Android

<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" /> 

what is he doing?? android: attr / textAppearanceLarge? Does he have a name? Why doesn't he use "@" instead? Can I use this syntax in my own code? Where can I find out more about this? Since I do not know what it is, it is difficult to find additional information about it. Any guidance would be greatly appreciated.

+6
source share
2 answers

This question has already been asked in stackoverflow. The answer was as follows:

A question icon means a link to the value of the resource in the currently used topic.

Check here for more details.

+9
source

This is a reference to a style attribute. Check out this link:

Links to topic attributes

+3
source

Source: https://habr.com/ru/post/901777/


All Articles