标签: java android
我创建了Keyboard。我需要在icon上显示Key。
Keyboard
icon
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;
如何以编程方式设置其高度和宽度?