Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了我的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;
如何以编程方式设置其高度和宽度?