1
I am very beginner on android and strictly following the example provided by my teacher and using a College PC I copied and pasted and had no problems, using my notebook I’m with the following error:
Error:(1) No Resource found that Matches the Given name (at paddingLeft with value@dimen/activity_horizontal_margin').
The xml statement 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 error happens to other paddings. How can I fix ?
Remove these paddings that is no problem.
– CloudAC