I'll do that tomorrow.

Herewith Toolbar.axml. However, during testing, I have commented out the
code which uses this resource - and everything else in the OnCreate
procedure except for: 

base.OnCreate(bundle);
SetContentView(Resource.Layout.Main);

so I don't think it can have any bearing on the problem - unless 3.0 hiccups
on viewstubs? It works fine in 2.1 anyway. 

Regards...Andrew


<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android";
    android:id="@+id/ToolBar"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:gravity="bottom"
    android:layout_alignParentBottom="true">
  <RelativeLayout
    android:id="@+id/Prefs"
    android:layout_height="wrap_content"
    android:layout_width="wrap_content"
    android:paddingTop="3dip" 
    android:layout_weight="0"
    android:background="#BCBBBB">
    <Button
      android:layout_height="wrap_content"
      android:layout_width="75dip"
      android:id="@+id/Button6"
      android:tag="6"
      android:textSize="18sp"
      android:text="Prefs"/>
  </RelativeLayout>
  <RelativeLayout
    android:id="@+id/About"
    android:layout_height="wrap_content"
    android:background="#BCBBBB"
    android:layout_width="wrap_content"
    android:paddingTop="3dip"
    android:layout_weight="0">
    <Button
      android:layout_height="wrap_content"
      android:layout_width="75dip"
      android:id="@+id/Button7"
      android:tag="7"
      android:layout_toRightOf="@id/Prefs"
      android:textSize="18sp"
      android:text="About"/>
  </RelativeLayout>
  <RelativeLayout
   android:id="@+id/Sync"
   android:layout_height="wrap_content"
   android:background="#BCBBBB"
   android:layout_width="wrap_content"
   android:paddingTop="3dip"
   android:layout_weight="0">
    <Button
      android:layout_height="wrap_content"
      android:layout_width="75dip"
      android:id="@+id/Button8"
      android:tag="8"
      android:textSize="18sp"
      android:text="Sync"/>
  </RelativeLayout>
  <RelativeLayout
  android:id="@+id/Hours"
  android:layout_height="wrap_content"
  android:background="#BCBBBB"
  android:layout_width="wrap_content"
  android:paddingTop="3dip"
  android:layout_weight="0.5">
    <Button
      android:layout_height="wrap_content"
      android:layout_width="75dip"
      android:id="@+id/Button9"
      android:tag="9"
      android:textSize="18sp"
      android:text="Hours"/>
  </RelativeLayout>
</LinearLayout>

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Monodroid-App-on-OS3-tp4692796p4693943.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