title: How to add a padding to a KeyboardView in Android?
body: <p>I have a row of keys. Each key is 18.5% width with 2% gap. I however want the gap on the first key to be 10% and the gap on the last key to be <strong>10% on the right side</strong>. It's simple to set the horizontalGap on each key to achieve this effect, except I see no way to set the right side gap.</p>
  
  <p>The spacing I want is as follows (bracketed items are keys, else it's a gap):</p>
  
  <pre><code>10% [18.5%] 2% [18.5%] 2% [18.5%] 2% [18.5%] 10%
  </code></pre>
  
  <p>I have tried:</p>
  
  <pre><code>&lt;Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
      android:keyWidth="18.5%p"
      android:horizontalGap="2%"
      android:keyHeight="7%p"&gt;
  
      &lt;Row&gt;
          &lt;Key android:codes="1" android:keyLabel="1" android:horizontalGap="10%p" /&gt;
          &lt;Key android:codes="2" android:keyLabel="2" /&gt;
          &lt;Key android:codes="3" android:keyLabel="3" /&gt;
          &lt;Key android:codes="4" android:keyLabel="4"  /&gt;
      &lt;/Row&gt;
  &lt;/Keyboard&gt;
  </code></pre>
  
  <p>This does not give me a 10% gap despite by KeyboardView width set to fill_parent. How can my keyboard have a 10% gap after the keys in a row?</p>