When I attemp to use some resource in activity_main.xml like that
android:minHeight="?android:actionBarSize"
android:background="?attr/colorPrimary"
I found some thing i can't understand.I know the "android:" means system level attribute when an XML parser reads the document, "attr" means the attribute in my theme(right?), but why some attribute should add the package name "android:",though there is a same attribute? such as i can define attribute in my styles.xml like this
<item name="colorPrimaryDark">@color/purple</item>
but i also can define attribute like
<item name="android:colorPrimaryDark">@color/purple</item>
My English is very bad,so mybe i haven't explain what i want to figure out.