2

Possible Duplicate:
Question mark (?) in XML attributes for Android

I've been browsing android source code and a few times i've come across '?' while specifying values for layout items. I know that '+' adds the value to R such as: android:id="@+id/blah".

The specific example i'm looking at is R.layout.simple_spinner_item, particularly the line:

style="?android:attr/spinnerItemStyle"

What does the '?' mean?

Community
  • 1
  • 1
Ian
  • 3,500
  • 1
  • 24
  • 25
  • 1
    See [http://stackoverflow.com/questions/2733907/question-mark-in-xml-attributes-for-android][1] [1]: http://stackoverflow.com/questions/2733907/question-mark-in-xml-attributes-for-android – Zack Marrapese Aug 31 '11 at 16:56
  • 1
    http://stackoverflow.com/questions/2733907/question-mark-in-xml-attributes-for-android – Craig Millard Aug 31 '11 at 17:00
  • ah i see. sorry about the redundancy. probably need to close as duplicate. – Ian Aug 31 '11 at 17:01

0 Answers0