0

I am trying to create my custom input method. I created my custom inputmethod on android and now I want that when a user clicks on a view a text insert in focused edit text. How can in do that ?

This is my code :

@Override
public View onCreateInputView() {
    kv = (ViewGroup) G.inflater.inflate(R.layout.keyboard_list, root);
    ListView lstKeyBoard = (ListView) kv.findViewById(R.id.lstMain);
    MyListView.setLV(G.db, lstKeyBoard, "main");
    return kv;       
}
3

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.