android:checkMark="?android:attr/listChoiceIndicatorMultiple"="?android:attr
意思是应用string里面的listChoiceIndicatorMultiple值,在前面加个问号什么意思?

解决方案 »

  1.   

    sdk里有说明
    theme attribute
    The question  means it's a reference to a resource value in the currently applied theme.
      

  2.   

    注意我们用了@符号和?符号来应用资源。@符号表明了我们应用的资源是前边定义过的(或者在前一个项目中或者在Android 框架中)。问号?表明了我们引用的资源的值在当前的主题当中定义过。通过引用在<item>里边定义的名字可以做到(panelTextColor 用的颜色和panelForegroundColor中定义的一样)。这中技巧只能用在XML资源当中
    http://dang-java.javaeye.com/blog/802037