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

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


           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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


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

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

    [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:
AnotherActivity".

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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to