android:minHeight="?android:attr/listPreferredItemHeight"
我猜测:
listPreferredItemHeight应该是个常量,具体的值可能在环境里面的某个配置文件中
1>[]应该是个分隔符号吧,用来解析字段;
2>:和上面差不多吧;期待正确的解释

解决方案 »

  1.   

    [package:][type:] 你看看DOS的语法
      

  2.   


    查了下,“[]”表示可选项。
    但是 ":" 呢?
    dos中:表示为
    标签定位符,可以接受goto命令所指向的标签。比如在批处理文件里面定义了一个":begin"标签,用"goto begin"命令就可以转到":begin"变迁后面来执行批处理命令了。dos中 “:”是在begin的前面 ,而现在   “:”是在type的后面  ,怎么解释呢?谢谢
      

  3.   

    :不就是分隔加标识?
    至于textAppearanceLarge你去attr.xml,styles.xml,themems.xml里肯定可以找到。
      

  4.   

    A:B:C
    就是:首先是分隔ABC的,然后A,B就相当于c++的namespace...就是这个C是B的C,B是A的B。
      

  5.   

    哦,有点明白了

    android:minHeight="?android:attr/listPreferredItemHeight"
    这句中,使用“?”而非"@",这个"?"表示什么意思呢?
    谢谢斧子
      

  6.   

    不客气。@和?我也没注意,刚查了一下。http://developer.android.com/guide/topics/resources/resources-i18n.html <References to Theme Attributes>,说?是去Theme里找。
      

  7.   

    http://developer.android.com/guide/topics/resources/resources-i18n.html#ReferencesToThemeAttributes
    As an example, we can use this in our layout to set the text color to one of the standard colors defined in the base system theme:
    <?xml version="1.0" encoding="utf-8"?><EditText id="text"    xmlns:android="http://schemas.android.com/apk/res/android"    android:layout_width="fill_parent" android:layout_height="fill_parent"    android:textColor="?android:textDisabledColor"    android:text="@string/hello_world" />
    Note that this is very similar to a resource reference, except we are using an '?' prefix instead of '@'. When you use this up, you are supplying the name of an attribute resource that will be looked up in the theme -- because the resource tool knows that an attribute resource is expected, you do not need to explicitly state the type (which would be ?android:attr/android:textDisabledColor).Other than using this resource identifier to find the value in the theme instead of raw resources, the name syntax is identical to the '@' format: ?[namespace:]type/name with the type here being optional.呵呵,做个记录,谢谢哈