Code example for KeyboardView

Methods: invalidateAllKeys, setKeyboard, setOnKeyboardActionListener, setVisibility

0
 
    @Override 
    public void onActivityCreated(Bundle savedInstanceState) {
        super.onActivityCreated(savedInstanceState);
        readComponentFromLayout(); 
        mKeyboardView.setOnKeyboardActionListener(this);
        onInitializeInterface(); 
        mCurKeyboard = mQwertyKeyboard;
        mKeyboardView.setKeyboard(mCurKeyboard);
        mKeyboardView.setVisibility(View.VISIBLE);
        mKeyboardView.invalidateAllKeys();
 
    } 
 
 
 
    //----------------------------------------------------------- 
    //                   Keyboard managment 
    //----------------------------------------------------------- 
    private LatinKeyboard mSymbolsKeyboard;
    private LatinKeyboard mSymbolsShiftedKeyboard;