0

我创建了我的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;

如何以编程方式设置其高度和宽度?

4

0 回答 0