Bug 4953 - Numeric Password widget loads with an invalid input type
Summary: Numeric Password widget loads with an invalid input type
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Designer ()
Version: 2.9.x
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Lluis Sanchez
Depends on:
Reported: 2012-05-08 18:08 UTC by PJ
Modified: 2012-05-31 08:05 UTC (History)
0 users

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description PJ 2012-05-08 18:08:16 UTC
The input type selected for the Numeric Password widget is 


Which results in this error on build:

	Target _UpdateAndroidResgen:
		Tool /Users/pjbeaman/Library/Developer/Xamarin/android-sdk-mac_x86/platform-tools/aapt execution started with arguments: package -f -M /var/folders/md/08shc3gj4hs1b1m5h7n5qzw40000gp/T/v43lbkqi.xec/AndroidManifest.xml -J /var/folders/md/08shc3gj4hs1b1m5h7n5qzw40000gp/T/v43lbkqi.xec -F /var/folders/md/08shc3gj4hs1b1m5h7n5qzw40000gp/T/v43lbkqi.xec/resources.apk.bk -S /Users/pjbeaman/Projects/DesignerTestingTake19/DesignerTestingTake19/obj/Debug/res/ -I /Users/pjbeaman/Library/Developer/Xamarin/android-sdk-mac_x86/platforms/android-8/android.jar 
		Resources/layout/main.axml(2): error: String types not allowed (at 'inputType' with value 'numberPassword').
/Library/Frameworks/Mono.framework/External/xbuild/Novell/Novell.MonoDroid.Common.targets: error : Tool exited with code: 1. Output: /Users/pjbeaman/Projects/DesignerTestingTake19/DesignerTestingTake19/obj/Debug/res/layout/main.axml:1: error: Error: String types not allowed (at 'inputType' with value 'numberPassword').

MD 2.9.6 RC2
Comment 1 PJ 2012-05-08 18:09:45 UTC
Comment 2 Lluis Sanchez 2012-05-31 08:05:28 UTC
Fixed in master. Notice that numericPassword is supported in API version 11 (honeycomb) or upper. The toolbox will not show that component anymore if you are targeting an earlier version. However, if you switch to api 11, add the widget and then switch to 10, you'll still get the build error, but that's by design.