I'm creating a new Dialog view in Droid platform, using the CrossUI.Droid.Dialog
project. I'm also using bindings provided by the MvvmCross Framework.
Here is the code I have in the Droid view, to create and bind the Dialog:
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
DroidResources.Initialise(typeof(Resource.Layout));
Root = new RootElement()
{
new Section("Private Configuration")
{
new EntryElement("Name:").Bind(this, "{'Value':{'Path':'Configuration.Name'}}"),
new EntryElement("Description:").Bind(this, "{'Value':{'Path':'Configuration.PrivateDescription'}}"),
new BooleanElement("Active?").Bind(this, "{'Value':{'Path':'Configuration.Active'}}")
},
new Section("Display Configuration")
{
new StringElement("Header Title")
{
Click = (o, e) => GoToHeaderTitleActivity(),
LayoutName = "dialog_rootNavigate"
}
}
};
}
When I run the app, the dialog is shown and the bindings are correct.
The problem I have is when I try to write something in one of the EntryElement, the focus just goes somewhere else... This only happens when I have 'Text Prediction' enabled.
I've checked the sample in Android.Dialog and all seems to work just fine.
I'm using a Galaxy Tab 2 7.0, with ICS 4.0
Does anyone had this problem?