I have included the armeabi-v7a architecture in my release build (together
with armeabi) but it makes no difference; the app still crashes as described
earlier. I have commented out all code in my main form's activity except
for:

        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            // Set our view from the "main" layout resource
            SetContentView(Resource.Layout.Main);
}
so only the form's Main.axml resource is used. it is shown below.

Regards...Andrew

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android";
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="#FFFFFF" >
  <Button
    android:id="@+id/Button1"
    android:tag="1"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:textSize="18sp"
    android:text="@string/FR"
    android:layout_marginTop="15dip"
    android:layout_marginBottom="15dip"
      />
  <Button
   android:id="@+id/Button2"
   android:tag="2"
   android:layout_width="fill_parent"
   android:layout_height="wrap_content"
   android:textSize="18sp"
   android:text="@string/SR"
   android:layout_marginBottom="15dip"
      />
  <Button
    android:id="@+id/Button3"
    android:tag="3"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:textSize="18sp"
    android:text="@string/DH"
    android:layout_marginBottom="15dip"
      />
  <Button
    android:id="@+id/Button4"
    android:tag="4"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:textSize="18sp"
    android:text="@string/FDH"
    android:layout_marginBottom="15dip"
      />
  <Button
    android:id="@+id/Button5"
    android:tag="5"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:textSize="18sp"
    android:text="@string/FDP"/>
  <LinearLayout
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:gravity="bottom">
  <ViewStub   
    android:id="@+id/ToolBar_stubview"
    android:inflatedId="@+id/toolbar_view"
    android:layout="@layout/toolbar"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content" />
  </LinearLayout>
</LinearLayout>


--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Monodroid-App-on-OS3-tp4692796p4693814.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to