Navbar: configurable IME layout

And the nuclear treatment.

Change-Id: Ie9374e05a572f336e586ee54cf191bc8a862b455