I\'m working on a custom keyboard for Android, and I\'ve run in to an issue where the keyboard seems to leave a white line/space at right, instead of filling the parent view...
In you case: 7 (keys) x 14% = 98% + 1% gap (firstkeyś horizontalGap) = 99%.
horizontalGap
Put the '%1' in horizontalGap in last key as you did in first key.