[Mono-bugs] [Bug 661517] Android.R should be Android.Resource

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jan 7 22:48:31 EST 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=661517#c1


Jonathan Pryor <jpryor at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jpryor at novell.com

--- Comment #1 from Jonathan Pryor <jpryor at novell.com> 2011-01-08 03:48:30 UTC ---
Fixed in r9055.

However, this may need revisiting; R has been renamed to Resource, but the
nested types haven't been changed, so we still have Resource.Anim,
Resource.Array, Resource.Attr, Resource.Bool, etc. names.

This may be fine; however, if we follow through with "2nd level type renaming"
as discussed in #646935 to rename the aresgen-generated Resource.attr to
Resource.Attributes, we will want to follow suite here.

http://developer.android.com/guide/topics/resources/available-resources.html
http://developer.android.com/guide/topics/resources/more-resources.html

A set of mappings could be:

    Bool -> Booleans
    Anim -> Animations
    Attr -> Attributes
    Color -> Colors
    Dimen -> Dimensions
    Drawaable -> Drawables
    Id -> Identifiers
    Integer -> Integers
    Layout -> Layouts
    Menu -> Menus
    String -> Strings
    Style -> Styles

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list