@*android:style/Theme.Dialog.Alert(\packages\apps\Settings\AndroidManifest.xml)
Theme.Dialog.Alert
因为Alert是非public的。使用*号的话与@的区别在于可以调用<sdk_path>\platforms\android-8\data\res\values\themes.xml中所有的已定义的theme.
而不使用*只能调用在<sdk_path>\platforms\android-8\data\res\values\public.xml中声明的样式或主题。
从某种意义上来说,没在public.xml中声明的资源是google不推荐使用的。
自定义seekbar样式的时候
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@*android:id/background" android:drawable="@drawable/setting_bright_seekbar_background" />
<item android:id="@*android:id/progress">
<scale android:drawable="@drawable/setting_bright_seekbar_progress" android:scaleWidth="100%" />
</item>
</layer-list>