That's just a warning generated by the XML Editor due to our Schema we ship for Intellisense and won't actually cause any problems.
Jonathan On 8/10/2011 11:30 AM, chobo2 wrote: > > Well I will check but I would figure if you make a ".axml" file it would be > that by default. > > > This is what I get in my main.axml when I try to add the inlude. > > > Warning 1 The element 'RelativeLayout' has invalid child element > 'include'. > List of possible elements expected: 'GLSurfaceView, AdapterView, > AutoCompleteTextView, MediaController, TextView, AppWidgetHostView, > GestureOverlayView, ExtractEditText, KeyboardView, SurfaceView, ViewGroup, > ViewStub, WebView, AbsListView, AbsSeekBar, AbsSpinner, AbsoluteLayout, > AnalogClock, Button, CheckBox, CheckedTextView, Chronometer, CompoundButton, > DatePicker, DialerFilter, DigitalClock, EditText, ExpandableListView, > FrameLayout, Gallery, GridView, HorizontalScrollView, ImageButton, > ImageSwitcher, ImageView, LinearLayout, ListView, MultiAutoCompleteTextView, > ProgressBar, QuickContactBadge, RadioButton, RadioGroup, RatingBar, > RelativeLayout, ScrollView, SeekBar, SlidingDrawer, Spinner, TabHost, > TabWidget, TableLayout, TableRow, TextSwitcher, TimePicker, ToggleButton, > TwoLineListItem, VideoView, ViewAnimator, ViewFlipper, ViewSwitcher, > ZoomButton, ZoomControls'. > > > > Jonathan Pryor-2 wrote: >> >> On Aug 10, 2011, at 12:16 PM, chobo2 wrote: >>> I am looking at android documentation and if I want to use include and >>> merge. >> ... >>> Yet when I try to do this in monodroid I get errors saying it can't find >>> merge and include. >> >> Did you set the Build action for the layout\progressbar.axml and the other >> files to AndroidResource? >> >> What's the error that you're getting? >> >> Thanks, >> - Jon >> >> _______________________________________________ >> Monodroid mailing list >> Monodroid@lists.ximian.com >> >> UNSUBSCRIBE INFORMATION: >> http://lists.ximian.com/mailman/listinfo/monodroid >> > > > -- > View this message in context: > http://mono-for-android.1047100.n5.nabble.com/Monodroid-How-to-include-layouts-tp4686408p4686465.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 > > _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid