Articles‎ > ‎Android Articles‎ > ‎

RelativeLayout's layout_above gives “No resource found” Error


Problem:

RelativeLayout's layout_above gives “No resource found” Error

Solutions:

android:layout_above="@id/my_button"

Replace to

android:layout_above="@+id/my_button"

Reason For (+) Plus Symbol:

The plus-symbol (+) means that this is a new resource name that must be created and added to our resources (in the R.java file).