开发者

how to make android transparent keyboard?

开发者 https://www.devze.com 2023-03-26 09:35 出处:网络
I am writing an Android application for API 2.2, where I need to use transparent keyboard and I have a problem. I can\'t find how to make keys for the keyboa开发者_运维百科rd. I can set alpha for key

I am writing an Android application for API 2.2, where I need to use transparent keyboard and I have a problem. I can't find how to make keys for the keyboa开发者_运维百科rd. I can set alpha for key icon by setting this.

mQwertyKeyboard.getKeys().get( i ).icon.mutate().setAlpha( 0 );

where mQwertyKeyboard is QWERTYKeyboard extends Keyboard, but how do I set alpha for key background? Thank you for help.

0

精彩评论

暂无评论...
验证码 换一张
取 消