I am writing an Android application for API 2.2 where I need to use a transparent keyboard and I have a problem. I can not find how to make keyboard keys. I can set the alpha for the key icon by setting this.
mQwertyKeyboard.getKeys().get( i ).icon.mutate().setAlpha( 0 );
where mQwertyKeyboard is QWERTYKeyboard extends Keyboard , but how to set alpha for key background? Thank you for your help.
source share