Advertisement
Guest User

Untitled

a guest
Jun 24th, 2012
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. package com.mykeyboard;
  2.  
  3. import android.content.Context;
  4. import android.inputmethodservice.Keyboard.Key;
  5. import android.inputmethodservice.KeyboardView;
  6. import android.util.AttributeSet;
  7.  
  8. public class MyKeyboardView extends KeyboardView {
  9.  
  10. public MyKeyboardView(Context context) {
  11. super(context, null);
  12. }
  13.  
  14. public MyKeyboardView(Context context, AttributeSet attrs) {
  15. super(context, attrs);
  16. }
  17.  
  18. public MyKeyboardView(Context context, AttributeSet attrs, int defStyle) {
  19. super(context, attrs, defStyle);
  20. }
  21.  
  22. @Override
  23. protected boolean onLongPress(Key key) {
  24. return super.onLongPress(key);
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement