title: Using custom font in android LatinIME keyboard
body: <p>I'm developing an Android Keyboard by modifying the LatinIME keyboard to write in languages that doesn't come with android originally. So, I'm trying to use a font other than the default android font in <code>EditText</code> fields when writing with that keyboard.</p>
  
  <p>Note that I DON'T want the font of the Keys to be changed, I want the font of the Entered text to be changed according to my font.</p>
  
  <p>Now while entering text in an EditText field, if I can get the reference of that EditText field, the task is as easy as:</p>
  
  <pre><code>Typeface myTypeface = Typeface.createFromAsset(getAssets(), "fonts/myFont.ttf");
  referenceToEditText.setTypeface(myTypeface);
  </code></pre>
  
  <p>But the problem is how can I get the reference to the EditText field(the field where I'm entering text) ?</p>
  
  <p>any ideas?</p>