JustCurious
JustCurious

Reputation: 1858

How to add custom buttons to keyboard?

I would like to have a numeric keyboard so I used android:inputType="phone".

But I do not need (,),+,*,#,$ symbols. I would like to be able to use capital N instead. So, I need a keyboard with 0-9 and N.

Upvotes: 4

Views: 8964

Answers (1)

skoperst
skoperst

Reputation: 2309

As far as i know you cant make custom keyboard layout because the layouts are part of the InputMethod application installed by the user.

You can however disable the default keyboard poping-up and build your own custom 'drawer action' layout which will have keys on it and have the same function of a keyboard while actually its just a UI element which you implement.

Upvotes: 1

Related Questions