Android keyboard resizes when changing letter casing
I've the same problem suddenly with UK keyboard quertyuiop. Nexus 4 latest android.

The solution was to power down the phone and start again. All back to normal now.