<item name="activatedBackgroundIndicator">@android:drawable/activated_background_holo_light</item>
这个是主题文件里的属性内容,<style name="Theme">,上一个item是对activatedBackgroundIndicator这个属性的设置,
设置的参数数值为activatedBackgroundIndicator.xml,这个文件的内容:
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_activated="true" android:drawable="@android:drawable/list_activated_holo" />
<item android:drawable="@color/transparent" />
</selector>
?标识引用的是主题文件的属性内容
<item name="panelTextAppearance">?android:attr/textAppearance</item>
这一段的意思是对panelTextAppearance这个属性,引用的数值为属性中的textAppearance这个参数值。
这个做的好处是不通主题属性的这个参数值不一样,这个参数值根据选用主题的不通进行变化
资源文件可以用引用系统资源和程序资源
progress_large_white.xml内容为:
<animated-rotate xmlns:android="http://schemas.android.com/apk/res/android"
android:drawable="@drawable/spinner_white_76"
android:pivotX="50%"
android:pivotY="50%"
android:framesCount="12"
android:frameDuration="100" />
spinner_white_76.png分别再4个文件目录总,drawable-xhdpi、drawable-hdpi、drawable-mdpi、drawable-ldpi这四个目录中都有这个文件