Extending LatinIME
<p>I want to extend android's default IME, LatinIME. I cloned LatinIME's Android 2.1 tag from here (<a href="http://android.git.kernel.org/?p=platform/packages/inputmethods/LatinIME.git;a=summary" rel="nofollow">http://android.git.kernel.org/?p=platform/packages/inputmethods/LatinIME.git;a=summary</a>), but there are some issues with the code... </p>

<p>For example in the class <code>CandidateView</code> the variable <code>mScrollX</code> is used, which is part of <code>View</code>, the extended class. But turns out that with the public SDK, that variable is private so it can't be used by children classes.</p>

<p>What I found in Google to be the solution to this is to change the use of <code>mScrollX</code> for the public getters of <code>View</code>, but the code also sets that variable and there are no setters available.</p>

<p>Another issue is that <code>com.android.internal.R</code> is used, which also isn't public available.</p>

<p>How am I supposed to extend LatinIME? Have anyone tried to do something like this?</p>

<p>Thanks in advance.</p>
