Found this to be an interesting question and tried exploring to find the answer.. This is what I found..
http://developer.android.com/guide/topics/resources/e-resource.html
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style
name="style_name"
parent="@[package:]style/style_to_inherit">
<item
name="[package:]style_property_name"
>style_value</item>
</style>
</resources>
item - Defines a single property for the style. Must be a child of a element.
attributes:
name
Attribute resource. Required. The name of the style property to be defined, with a package prefix if necessary (for example android:textColor).
http://developer.android.com/guide/topics/mani.4/1999//mani.4/1999/-intro.html” rel=“noreferer”http://developer.android.com/guide/topics/mani/pop-intro.html
Resource values
Some attributes have values that can be displayed to users — for example, a label and an icon for an activity. The values of these attributes should be localized and therefore set from a resource or theme. Resource values are expressed in the following format,
@[package:]type:name
where the package name can be omitted if the resource is in the same package as the application, type is a type of resource — such as "string" or "drawable" — and name is the name that identifies the specific resource. For example:
Values from a theme are expressed in a similar manner, but with an initial ? rather than @ :
?[package:]type:name
最后,我尝试在没有刺.的情况下给予其属性:尽管它成功地进行了汇编,但还是提出了例外。