This worked for me on an LG G4 with Android 5.1 running.
Go to Settings\General\language & input\LG Keyboard click on picture of Gear\click Keyboard height and layout\click QWERTY keyboard layout\A picture of the keyboard spacebar will display with a highlighted symbol to the left of the...