I am looking at android documentation and if I want to use include and merge.

So I opened up eclipse and got it to extract some of the code out and it
made in my layout this

     <include layout="@layout/progressbar" 
android:layout_width="wrap_content" android:layout_height="wrap_content"/>

and another file with

    <?xml version="1.0" encoding="utf-8"?>
    <merge xmlns:android="http://schemas.android.com/apk/res/android";>
        <TextView android:text="Loading..."
android:layout_height="wrap_content" android:layout_width="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:id="@+id/lblLoading" android:layout_marginLeft="180dp"
android:layout_marginTop="240dp"></TextView>
        <ProgressBar android:id="@+id/progBar"
android:layout_height="wrap_content" android:layout_width="wrap_content"
android:layout_marginLeft="130dp"
android:layout_marginTop="230dp"></ProgressBar>
    </merge>

Yet when I try to do this in monodroid I get errors saying it can't find
merge and include.





--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Monodroid-How-to-include-layouts-tp4686408p4686408.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