I want to apply the new material design to my android app and have a small problem with my xml file.
- 16dp
You are declaring item elements here, not dimen.
For example this one works:
<resources>
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
<dimen name="reference">@dimen/activity_horizontal_margin</dimen>
</resources>
you should use <dimen
instead of <item
and it should work