The opening RelativeLayout tag is closed in the middle of your
attributes declarations. The exception is probably coming from the
lack of the layout_width and layout_height attributes since they fall
outside your tag at the moment.
http://schemas.android.com/apk/res/
android"
android:id=
I find that exceptions triggered by setContentView are usually caused
by something simple in the layout file; often a missing layout_width
or layout_height on one of my View declarations.
On Jan 19, 9:37 am, Walt Armour wrote:
> That looks like the content of the stack from the eclipse debug
>
I find that exceptions triggered by setContentView are often simple
oversights in the layout file. Often, it is caused by a missing
layout_width or layout_height on one of my view declarations in the
xml.
On Jan 19, 9:37 am, Walt Armour wrote:
> That looks like the content of the stack from th
Looking at the code, you have a closing tag after
"@+id/MyRelativeLayout" > that's the issue.
The closing tag should be at android:layout_height="fill_parent" >
So your XML should be
http://schemas.android.com/apk/res/
android"
android:id="@+id/MyRelativeLayout"
android:orientation=
It appears that the order attribute declaration matters for layout
declarations, for example the following causes an exception to be
thrown that says that the layout_width should be in line 2 of the XML
but if the id attribute is placed at the bottom of the list of
attributes the exception goes awa
5 matches
Mail list logo