I\'m getting an error when I try and build my android project:
No resource identifier found for attribute \'margin\' in package \'android\'
The correct attribute name for declaring a 5p margin in every direction is:
android:layout_margin="5dp"
Note the layout_ prefix. You'll want to remove the line that says android:margin="5dp", which is what makes Eclipse complain.
The full set of valid margin attributes includes:
layout_marginlayout_marginBottomlayout_marginEndlayout_marginLeftlayout_marginRightlayout_marginStartlayout_marginTop