I'm very new to android and following strictly the example provided by my teacher and using a PC of the Faculty I copied and pasted and had no problems, using my notebook I have the following error:
Error: (1) No resource found that matches the given name (at 'paddingLeft' with value '@ dimen / activity_horizontal_margin').
The xml declaration looks like this:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity">
The same mistake happens to other paddings. How can I resolve?