title: Change font of custome key (label) of android custom keyboard
body: <p>I am having a problem with changing the font style (non English - Unicode) of the custom keys of android custom keyboard.
  I have followed something similar to the answer of this <a href="https://stackoverflow.com/questions/34332318/can-i-change-the-output-font-of-an-android-custom-keyboard">link</a>
  and it seems working fine for single character buttons. It will change the font of entire app to the new font including single character keys of the keyboard.
  If I wanna change the size of the key text I can use below two entries</p>
  
  <pre><code>android:keyTextSize="25sp" // for single character keys
  android:labelTextSize="20sp" // for multiple character keys
  </code></pre>
  
  <p>But unfortunately method in above link only works for single character keys only. Is there any way to set the font of multiple character keys.</p>
  
  <p>See below image for example:
  First button has some default system font while second and third buttons have the correct font.</p>
  
  <p><a href="https://i.stack.imgur.com/buMEg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/buMEg.png" alt="enter image description here"></a></p>
  
  <p><strong>EDIT</strong>:
  After reading <em>Bhavita Lalwani</em> <a href="https://stackoverflow.com/a/37560032/5685196">answer</a> it got me thinking.</p>
  
  <pre><code>if (label != null) {
          // For characters, use large font. For labels like "Done", use small font.
          if (label.length() &gt; 1 &amp;&amp; key.codes.length &lt; 2) {
              paint.setTextSize(mLabelTextSize);
              paint.setTypeface(Typeface.DEFAULT_BOLD);
          } else {
              paint.setTextSize(mKeyTextSize);
              paint.setTypeface(Typeface.DEFAULT);
                  }
              }
  </code></pre>
  
  <p>here it says </p>
  
  <pre><code>if (label.length() &gt; 1 &amp;&amp; key.codes.length &lt; 2)
  </code></pre>
  
  <p>so it uses BOLD fonts for multiple characters only if they have single code.
  eg. I think Android Engs thinking about these things. ??? </p>
  
  <pre><code>Keyboard.KEYCODE_DONE
  Keyboard.KEYCODE_DELETE
  </code></pre>
  
  <p>So the ugly workaround will be to add multiple codes and only use first code when needed.</p>
  
  <pre><code>&lt;Key android:codes="5001,1" android:keyLabel="AB" android:keyWidth="12%p" /&gt;
  </code></pre>
  
  <p>Now every key with multiple codes also user DEFAULT typeface.
  This works for now, (Until I find a proper solution :))</p>