Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Keyboard with Next Button on Android

$
0
0

Hello everyone,

I Would like to have in my Android app version an Button Called "Next", by default the keyboard has a button called "Done" or "OK"... i saw many topics saying to put android:imeOptions="actionNext" in XML but we are using forms with c# code and no XML...

i have tried custom render but there.. i put:
Control.SetImeActionLabel("Next.", Android.Views.InputMethods.ImeAction.Next);

but does not works =(

my "Next" button will perform an action to rope to the next Entry.

I made this:
myEntry.Completed += (s, e) =>
{
nextEntry.Focus();
};

the keyboard will dissapear too...

In my IOS Version i have this:
Control.ReturnKeyType = UIReturnKeyType.Next;
Control.ShouldReturn += TextFieldShouldReturn;

and works great!!!

Anyone knows how can i manage this?
thanks


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>