Numeric keyboard as default on Xamarin.Forms, but allow text (cross platform) - xamarin

Keyboard="Numeric" changes the default input keyboard to a numeric one, but it also makes it so that only numbers and decimal points are accepted -- and there is no way to switch back to an alphanumerical keyboard.
Does anybody know of a way to have the numeric keyboard appear at first, but allow the user to also input text if needed?
Edit: I need this to work for both Android and iOS

You could create your own kayboard with mumber and text like A, B, C, D.....
The link below include how to do this in custom renderer.
https://stackoverflow.com/a/60034046/11850033

Related

What software program can I use to build a custom desktop keyboard IME for MacOS?

I would like to make my own version of Mac's ABC-Extended keyboard for typing Pinyin (a way to write Mandarin that indicates tones). But when I use Xcode, I just see a target custom keyboard extension for iOS and nothing for macOS. I've looked into the program Ukulele but it doesn't seem like it will do everything I need. Theoretically I could also put my rules into files like how this article indicates but that also seems cumbersome based on what I want my keyboard to do.
Here's what I want it to do:
First option: user literally types "ni3 hao3" and my logic in real time changes their output to "nǐ hǎo" (there are pinyin/grammar rules for where the tone mark goes)
Secondly (phase 2 in my project), in their user settings for the keyboard, they could indicate they want to convert their text to Hanzi (the characters). So when they type their Pinyin, my algorithm guesses a best guess list of Hanzi characters that matches their Pinyin entry. This would require that I have a downloaded dictionary file for my keyboard.
Thanks for any help! I know how to program it I just need the right software to use :(

How to localize keyboard when InputScope is set to Number?

I have an app written for Windows Phone 8 that I ported down-level to Windows Phone 7. The app deals with entering currency values so my TextBox has an InputScope of Number to make things easier to enter. I try to respect the locale setting so that in some countries the decimal in the currency value is represented by "." and in others it is represented by ",".
My issue is that it seems that the keyboard is not localized, so the user has to press and hold on the "." button to select the ",". I believe this may only be a WP7 issue. Unfortunately, some users don't know they can do this trick and thus think they are unable to enter currency values that have decimals in them. It also makes the app tedious to use for anyone that represents numbers this way.
Is there anything I am not setting properly or a workaround for this?
Thanks,
Miron
Unfortunately, it doesn't depend on culture, but you can set another InputScope, i.e. CurrencyAmountAndSymbol which contains both '.' and ','
You may use PostalCode Input scope for your thing

Remove decimal point from on-screen keyboard

According to this document, numeric keypad on Windows Phone OS 7.1 is ought to have "." - decimal point.
Is there a way to remove the decimal point from keyboard, leaving only numbers and Backspace sign?
There isn't a way to customize the soft input panel further than the various InputScopes. You could, however attempt to simulate the SIP, but that seems like a lot of extra work just to avoid the ".".
Here is one example that might be of help if you choose to go this route: http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx
Rather than attempt to modify the built in keyboards (which you can't do) or attempt to create a custom keyboard (which is a lot of work to accurately recreate the native experience) you'll probably find it much simpler to just ignore the characters you don't want displayed.
Use the TextChanged event to check for the period and ignore it.

Remap keyboard combinations, not just single registry values

I'm getting real tired of pressing shift every time I want to type $ or #. I've checked out key remapping programs like SharpKeys and a few others, but they don't support the SHIFT+[key] actions. The problem is they modify the registry value for a single key only (I think).
I want to flip over my number keys so when I type 4, it outputs $, similar to a French keyboard. (I tried physically rotating the key so it's upside down, but that's not working).
There must be a solution for this - can you help?
The registry hackers move virtual keys around. What you need is a custom keyboard layout. You can easily create your own with the Microsoft KeyBoard Layout Creator utility.
In addition to the answer from #HansPassant, if you find trouble with the ctrl+KEY functions etc you might need to edit the .klc file manually.
See https://superuser.com/questions/171307/how-can-i-restore-ctrlkey-functionality-in-microsoft-keyboard-layout-creator :
You need to modify the .klc file manually.
Basically you just modify the VK_ column to match the value in
column 1.
So for example if you want to bind L to N, you
would create the keyboard as you normally would in KLC. Then you would
open the KLC file in a text editor. Find the value L in the VK_
column, and switch it to an N.
For more information, I wrote the complete steps on my blog.

iPad Keyboard: mode based key augmentation

When using the "add Account..." function in the 'Mail,Contacts, Calendars' section in 'Settings' on an iPad, selecting the address field causes the keyboard to change the labels of the !, and ?. keys, shorten the right '.?123' and space key and add two new keys (_ and -)
I have also seen the Keyboard augment to show a .com key for URLs.
Im guessing you can pass the keyboard a 'url mode' or 'email address mode' type argument, has anyone manipulated the keyboard in such a way before and what degree of plasticity is there for actual labels or modes?
There are a number of defined UIKeyboardType's. You must use one of those.

Resources