Change text color from InputMethodService
<p>I'm modifying gingerbread keyboard. I want to change the color of the text that i'm entering.
Its possible when I'm entering the text using <code>InputConnection.setComposingText(CharSequence, cursorPosition)</code> since the argument of the method <code>setComposingText</code> allows a <code>Spannable</code> type. But when I press the space button, that is, when the text is committed, the color goes back to default.</p>

<p><code>InputConnection</code>'s <code>commitText</code> method takes the same arguments as the <code>setComposingText</code>. But the color is not changed. How can I overcome the problem?</p>

<p>will appreciate any help</p>
