Search code examples
androidlocalizationlocaleandroid-2.1-eclair

Dynamically change android soft keyboard language setting?


I have some edit boxes in my app, some of them I will input English text, some of them I will input Spanish.

I'm using the standard android soft keyboard, however as my device locale is set to English, when I type Spanish in one of my "Spanish" edit boxes, the English corrective text/predictive text makes this difficult.

The only workaround I've found, is to go into the device settings and change the language over, but this is quite annoying.

Is there anyway I could have some kind of button, that when clicked would dynamically change the soft keyboards language setting? Is this exposed via any Intents?

Regards


Solution

  • Try to slide your finger across the spacebar on your keyboard to change languages.