6

I've got an Math related application I've made that I really would like to make a custom soft keyboard for. It would have attributes like a numpad and special characters like pi and square root symbols built in. I would want it to replace to default keyboard just for that application, and only open the keyboard that I develop for this app. My question is how do I do that? Do I make a "keyboard" out of table layouts and a bunch of buttons that opens when I click on the text field, or do I make use of the keyboard layout?

Jon
  • 61
  • 1
  • 2

2 Answers2

3

You should not create a table layout and a bunch of buttons, it is an unfamiliar user interface and creates a bad user experience. See this answer about how to create a custom soft keyboard that is identical to the platform soft keyboard but contains the keys you need: android app specific soft keyboard

Community
  • 1
  • 1
Torben
  • 3,805
  • 26
  • 31
0

You could make a RelativeLayout, with rows of buttons like a keyboard at the bottom of the screen(using Linear layouts), or if you need to have a system wide keyboard, I'd look at Hackerskeyboard source for an example.

NoBugs
  • 9,310
  • 13
  • 80
  • 146
  • Ok, I've got the layout that I want made, but my textfields are at the bottom of the screen and are hidden when I pull up the layout. –  Aug 15 '11 at 20:53