Bug 12384 - User is not able to create 'Edit Text' for MFA application.
Summary: User is not able to create 'Edit Text' for MFA application.
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 4.6.x
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Tom Opgenorth
URL: http://http://docs.xamarin.com/guides...
Depends on:
Reported: 2013-05-24 07:08 UTC by Atin
Modified: 2013-05-27 02:00 UTC (History)
2 users (show)

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 Atin 2013-05-24 07:08:11 UTC
1. Create any MFA application in X.S.
2. Open the Resources\layout\main.xml file and add the EditText element (inside the LinearLayout):
3. Add the following method at the end of OnCreate()Method:
EditText edittext = FindViewById<EditText>(Resource.Id.edittext);

edittext.KeyPress += (object sender, View.KeyEventArgs e) => {
        if (e.E.Action == KeyEventActions.Down && e.KeyCode == Keycode.Enter) {
                Toast.MakeText (this, edittext.Text, ToastLength.Short).Show ();
                e.Handled = true;
4. Debug or run the application.

Actual result:
Application giving build error

Below is the build output for the same:

Expected result:
Application should build and run successfully

Environment details:
All mac
XS 4.0.7(build 3)- 0f1da1e7f83345a52a4b68b8142ce699a6b2ada0
MFA 4.6.07004
Mono 2.10.12 

Note: It seems like that there is an error in document if we replace 'E' with 'Event' at line no 33 in X.S then Application is running successfully.
Comment 1 Jonathan Pryor 2013-05-24 08:45:32 UTC
Tom: This is a documentation bug. It should use `e.Event.Action`:

Comment 2 narayanp 2013-05-27 02:00:47 UTC
We have followed the latest documentation http://docs.xamarin.com/guides/android/user_interface/form_elements/edit_text we are successfully able to deploy and launch application.

X.S 4.0.7(build 3)
Xamarin.Android 4.6.7
Mono- 3.0.11

Changing the status to Verified.