[mono-android] axml files issues

John Murray john at murray.gb.com
Mon Mar 21 13:10:21 EDT 2011


I think I've solved the issue - not sure if it is peculiar to Monodroid
because the following xml is acceptable in Eclipse and Droiddraw but causes
Monodroid in VS2010 to hang

 

<LinearLayout

android:id="@+id/widget30"

android:layout_width="fill_parent"

android:layout_height="fill_parent"

xmlns:android="http://schemas.android.com/apk/res/android"

android:orientation="vertical"

> 

  <TableLayout

android:id="@+id/widget37"

android:layout_width="309px"

android:layout_height="50px"

android:orientation="vertical"

> 

    <TableRow

    android:id="@+id/widget38"

    android:layout_width="fill_parent"

    android:layout_height="wrap_content"

    android:orientation="horizontal">

      <Button

     android:id="@+id/peoplepedit"

     android:layout_width="80px"

     android:layout_height="wrap_content"

     android:text="Contacts"></Button>

    </TableRow>

</TableLayout>

  <TableLayout

android:id="@+id/widget37"

android:layout_width="309px"

android:layout_height="50px"

android:orientation="vertical"

> 

<TableRow></TableRow>

</TableLayout>

</LinearLayout>

 

If the two tables are nested then it works fine - just fails when there are
two sequential tables on another layout as above

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/mailman/private/monodroid/attachments/20110321/66eaac25/attachment-0001.html 


More information about the Monodroid mailing list