I created my Keyboard
. I need to show icon
on one Key
.
Keyboard.Key key;
key = this.getKeys().get( 0);
Drawable icon = context.getResources().getDrawable( iKeyIcon); // iKeyIcon - id of my file resource with icon
key.icon = icon;
How can I set programmatically its height and width?