[Mono-bugs] [Bug 691997] New: Adding <include in layout breaks intellisense
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu May 5 10:58:25 EDT 2011
https://bugzilla.novell.com/show_bug.cgi?id=691997
https://bugzilla.novell.com/show_bug.cgi?id=691997#c0
Summary: Adding <include in layout breaks intellisense
Classification: Mono
Product: MonoDroid
Version: SVN
Platform: 64bit
OS/Version: Windows 7
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Class Libraries
AssignedTo: mkestner at novell.com
ReportedBy: neal at nc-software.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64;
Trident/5.0)
Hello,
I have a toolbar layout "toolbar.xml" that I want to include in all layouts for
layout reusability. I understand to do this I use layout code such as:
<?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"
>
<include android:id="@+id/toolbar" layout="@layout/toolbar" />
</LinearLayout>
The above seems to work, the app runs. However, the <include is not recognized
in the xmlns so it breaks intellisense on the layout. Do I need to add an
additional namespace or is this a bug?
Thank you.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list