[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



           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"?>
    <declare-styleable name="HelloGallery">
        <attr name="android:galleryItemBackground" />

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>
           <colgroup align="left" />
           <colgroup align="left" />
           <tr><td><code>{@link #HelloGallery_android_galleryItemBackground
           @see #HelloGallery_android_galleryItemBackground
        public static final int[] HelloGallery = {
          <p>This symbol is the offset where the {@link
          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