Get the current state of isSticky key in custom keyboard
<p>I want to create a custom-keyboard that is just used in my app. I've done everything to make a simple custom-keyboard which just let me to type in some word. When I look around some tutorial about custom-keyboard on google and android docs, I see that the key can have this Attribute: android:isSticky, that makes a key to be a toggle-key.
But there is seem to be no way to get the current state of the toggle key. </p>

<p><img src="http://i.stack.imgur.com/JE8dA.png" alt="When the keyboard started"></p>

<p><img src="http://i.stack.imgur.com/H3fpp.png" alt="When you click on a toggle-key on the custom-keyboard, it will become like this:"></p>

<ul>
<li>So is there any way that I can get the state of the key that have the
attribute android:isSticky?</li>
</ul>
