1

I'm trying to make an android keyboard and was wondering how to make a letter pop out, when it is hit.

I tried using a custom dialog, but it totally would not work within InputMethodService.

crashes with:

ERROR/AndroidRuntime(17125): at 
    keyboard.rob.com.TotalKeyboard$3.onTouch(TotalKeyboard.java:527)

when dialog.show(); is called.

So, supposedly some other method would be needed.

I have the sample keyboard code, but couldn't find the place where it show a popout letter. Yet I'm sure it doesn't use dialogs.

Any ideas how to achieve that?

enter image description here

DonGru
  • 13,532
  • 8
  • 45
  • 55
Roger
  • 6,443
  • 20
  • 61
  • 88
  • http://stackoverflow.com/questions/5988699/custom-popup-for-key-of-keyboard see if these answers help. – Kevin Qiu Aug 30 '11 at 19:05
  • also check this one :http://stackoverflow.com/questions/3480715/how-to-develop-a-soft-keyboard-for-android – Kheldar Aug 30 '11 at 20:07

1 Answers1

1

Could be using a FrameLayout with a drawing canvas stacked at the nearest index. When someone selects a letter, it draws that letter on the top index of the frame layout.

Delete
  • 922
  • 8
  • 12