【发布时间】:2011-12-16 22:00:35
【问题描述】:
- public static final int listPreferredItemHeight
好的,我当然理解这部分表达式...listPreferredItemHeight 是首选列表项高度。
但我真的不明白这些东西。任何人都可以指出我可以阅读的正确方向吗?
这也可能是对资源的引用(形式为 “@[package:]type:name”)或主题属性(形式为 "?[package:][type:]name") 包含此类型的值。
我在这里找到此代码的示例https://android-developers.googleblog.com/2009/02/android-layout-tricks-1.html
编辑:在链接的示例中,代码是android:layout_height="?android:attr/listPreferredItemHeight"。究竟是什么意思?
【问题讨论】: