Added IME settings (extracted from Soft Keyboard Sample).