[Mono-bugs] [Bug 673866] New: Layout drawable references must be lower case

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 21 17:21:30 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=673866

https://bugzilla.novell.com/show_bug.cgi?id=673866#c0


           Summary: Layout drawable references must be lower case
    Classification: Mono
           Product: MonoDroid
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Tools
        AssignedTo: jpobst at novell.com
        ReportedBy: jpobst at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


We allow users to add an image like Drawable/Background.png to the project.

However then they will reference that in their layouts like this:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:gravity="center_horizontal"
    android:background="@Drawable/Background"
/>

Android will not accept this, and because we've hidden the fact that everything
is lowercased in the background, users do not know what the error is.

We need to lowercase all resource references as well.

I *think* they always start with "@".

-- 
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