[Mono-bugs] [Bug 655801] New: styleable does not end up in Resource.Designer

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 24 12:39:28 EST 2010


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

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


           Summary: styleable does not end up in Resource.Designer
    Classification: Mono
           Product: MonoDroid
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Tools
        AssignedTo: jpryor at novell.com
        ReportedBy: jpobst at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Create a Resources/values/attrs.xml and set build action to AndroidResource.

Paste the following xml:

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <declare-styleable name="HelloGallery">
        <attr name="android:galleryItemBackground" />
    </declare-styleable>
</resources>

This shows up in R.java as:

    public static final class styleable {
        /** Attributes that can be used with a HelloGallery.
           <p>Includes the following attributes:</p>
           <table>
           <colgroup align="left" />
           <colgroup align="left" />
           <tr><th>Attribute</th><th>Description</th></tr>
           <tr><td><code>{@link #HelloGallery_android_galleryItemBackground
gallerysample.gallerysample:android_galleryItemBackground}</code></td><td></td></tr>
           </table>
           @see #HelloGallery_android_galleryItemBackground
         */
        public static final int[] HelloGallery = {
            0x0101004c
        };
        /**
          <p>This symbol is the offset where the {@link
gallerysample.gallerysample.R.attr#android_galleryItemBackground}
          attribute's value can be found in the {@link #HelloGallery} array.
          @attr name android:android_galleryItemBackground
        */
        public static final int HelloGallery_android_galleryItemBackground = 0;
    };


It does not show up in our Resource.Designer.cs.

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