I downloaded the source of the sample soft keyboard and tried it out in my tablet..but it looks like this:

How do I customize the layout a little bit so that it will fit into the screen? I have been reading through http://developer.android.com/resources/articles/creating-input-method.html
but it does not help much with the layout customizing.
found the answer: In the manifest file