I am trying to solve the same thing as the following post posts:
How to toggle "Use Physical Keyboard". and Switch from physical to software keyboard
Basicaly I want to toggle the native option from android to turn the physical keyboard on or off. However, I want to create this button through code.
None of those links have one good answer. Can anyone help me?