I have used "Android Icon Set" (in eclipse), which has created different size icons in various drawable folders. Now when I am setting this icon using following code:
<Key android:codes="49" android:keyIcon="@drawable/my1" android:keyWidth="7%p"/>
Icon is not taking the full keysize, it is coming in center for some devices and coming outside the key in other devices. I need to fix this urgently please guide me. My main requirement is that I want certain different color keys on my custom keyboard (based on samplesoft keyboard), as it is difficult to change key background I am using images and now images are not occupying full space.