[Mono-bugs] [Bug 644317] New: monodroid should ignore @values when generating //activity/@android:label values.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 6 15:37:31 EDT 2010



           Summary: monodroid should ignore @values when generating
                    //activity/@android:label values.
    Classification: Mono
           Product: MonoDroid
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Tools
        AssignedTo: mkestner at novell.com
        ReportedBy: jpryor at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Consider the following source, which uses a resource value for HelloActivity's

    [Activity(Label="@string/app_name", MainLauncher=true)]
    public class HelloActivity : Activity {

    public class AnotherActivity : Activity {

Build, and get a compilation error, because the intermediate
AndroidManifest.xml contains:

    <activity android:name="tabLayout.SongsActivity"
        android:label="@string/app_name: AnotherActivity" />
    <activity android:label="@string/app_name"
        android:name="tabLayout.HelloActivity" />

aapt doesn't like the android:label value of "@string/app_name:

monodroid should probably look for a Label starting with @ and "ignore that
when creating labels for the other activities...or just not generate
//activity/@android:label by default.

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