views:

266

answers:

2

I wonder how could is possible to make custom shape key on android keyboard. To create custom keyboard is relatively easy, but what needs to be done to create new buttons. They also need to respond with all events as normal keyboard.

Any ideas where to start?

A: 

You need to create an image for each key you want on your custom keyboard, and then, create the xml supporting the design of your keyboard and load it in your application with they Keyboard class. Do you need more details? If so, I will prepare one if you want, I've been wanting to have a go at this class for a while.

Sephy
Isn't enough just overriding the createKeyFromXml() function of Keyboard class?
Solata
oh yeah, I suppose it is possible, though I never tried it. Didn't understand you properly, I thought you wanted to change the whole keyboard
Sephy
You understood right, I just thought this would be easier way. I guess not. Perhaps you should go a little more in details :)
Solata
A: 

Yes, that would be great if you can post more explanation !