[Mono-bugs] [Bug 664986] New: Android.Resource Types incorrectly cased / transformed

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jan 17 11:57:50 EST 2011


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

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


           Summary: Android.Resource Types incorrectly cased / transformed
    Classification: Mono
           Product: MonoDroid
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jhill at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Many of the types in Android.Resource seem to have not been transformed to
pascal case correctly.  I noticed most of the offenders are in style, but there
are a few oddities in the other types.  Mostly it's joined words missing a
capital letter in the second word, but there a few words that shouldn't be
abbreviated.  In almost all instances these names are correctly cased /
transformed elsewhere in the API.

I've tried to capture most of the patterns in this table below.  Please let me
know if the wildcards aren't helpful and I can capture the individual type name
corrections instead.

Android.Resource.Color.
  *Nodisable --> *NoDisable
  WidgetEdittextDark -->WidgetEditTextDark
Android.Resource.Drawable.
  Btn* --> Button*
  Editbox* --> EditBox*
  IcMenuMylocation --> IcMenuMyLocation
  IcMenuMyplaces -->IcMenuMyPlaces
  StatNotifySdcard* --> StatNotifySdCard*
  StatNotifySyncNoanim --> StatNotifySyncNoAnim
Android.Resource.Id.
  Tabcontent --> TabContent
  Tabhost --> TabHost
Android.Resource.Layout.
  SelectDialogMultichoice --> SelectDialogMultiChoice
  SelectDialogSinglechoice --> SelectDialogSingleChoice
  SimpleDropdownItem1line --> SimpleDropDownItem1Line
  SimpleSpinnerDropdownItem --> SimpleSpinnerDropDownItem
Android.Resource.Style.
  *Inputmethod --> *InputMethod
  *Fullscreen --> *FullScreen
  *Dropdown* --> *DropDown*
  Mediabutton* --> MediaButton*
  Textappearance* --> TextAppearance*
  TextappearanceDialogwindowtitle --> TextAppearanceDialogWindowTitle
  TextappearanceWidgetDropdownhint --> TextAppearanceWidgetDropDownHint
  TextappearanceWidgetDropdownitem --> TextAppearanceWidgetDropDownItem
  *Edittext --> *EditText
  TextappearanceWidgetIconmenuItem --> TextAppearanceWidgetIconMenuItem
  TextappearanceWidgetTabwidget --> TextAppearanceWidgetTabWidget
  TextappearanceWidgetTextview --> TextAppearanceWidgetTextView
  TextappearanceWidgetTextviewPopupmenu -->
TextAppearanceWidgetTextViewPopupMenu
  TextappearanceWidgetTextviewSpinneritem -->
TextAppearanceWidgetTextViewSpinneritem
  TextappearanceWindowtitle --> TextAppearanceWindowTitle
  *Notitlebar --> *NoTitleBar
  ThemeWallpapersettings --> ThemeWallpaperSettings
  WidgetCompoundbutton* --> WidgetCompoundButton
  WidgetDropdownitem* --> WidgetDropDownItem*
  *listview* --> *ListView*
  WidgetGridview --> WidgetGridView
  WidgetImagebutton --> WidgetImageButton
  WidgetImagewell --> WidgetImageWell
  WidgetKeyboardview --> WidgetKeyboardView
  WidgetPopupwindow --> WidgetPopupWindow
  WidgetProgressbar* --> WidgetProgressBar*
  WidgetRatingbar --> WidgetRatingBar
  WidgetScrollview --> WidgetScrollView
  WidgetSeekbar --> WidgetSeekBar
  WidgetTabwidget --> WidgetTabWidget
  WidgetTextview* --> WidgetTextView*
  WidgetTextviewPopupmenu --> WidgetTextViewPopupMenu
  WidgetTextviewSpinneritem --> WidgetTextViewSpinnerItem
  WidgetWebview --> WidgetWebView

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