I am a new guy on android study, and I also research the soft
keyboard.
   I had made a "qwerty.xml", but I do not know how to show this
keyboard?
   I had only used setcontentview(minputview); i t can be , but the
screen only show the keyboard...
  my code:
      public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        mQwertyKeyboard = new LatinKeyboard(this, R.xml.qwerty);
        onCreateInputView();
        setContentView(mInputView);
    }
    public View onCreateInputView() {
        mInputView = (KeyboardView) getLayoutInflater().inflate(
                R.layout.input, null);
        mInputView.setOnKeyboardActionListener(this);
        mInputView.setKeyboard(mQwertyKeyboard);

        return mInputView;
    }

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to