I am new in android.
I just made a new layout with one text bar and 2 buttons but it didn\'t work, I am posting the stack trace and my relative layout file any idea about th
I had the same problem - but in a activity that had no background image.
I found out that the GUI editor (when using Eclipse - I don't know about Android Studio) sometimes adds the buggy property without any reason:
android:background="@layout/activity_main"
I'm not sure why the editor does so - maybe it is a bug or simply a usage error.
However if the activity does not have a background image the entire property simply has to be deleted!