Code example for Keyboard

Methods: setShifted

     * @return true if the shift key state changed, false if there was no change 
     * @see KeyboardView#isShifted() 
    public boolean setShifted(boolean shifted) {
        if (mKeyboard != null) {
            if (mKeyboard.setShifted(shifted)) {
                // The whole keyboard probably needs to be redrawn 
                return true; 
        return false; 
     * Returns the state of the shift key of the keyboard, if any. 
     * @return true if the shift is in a pressed state, false otherwise. If there is 
     * no shift key on the keyboard or there is no keyboard attached, it returns false. 
     * @see KeyboardView#setShifted(boolean) 
Stop searching for code, let great code find you!  Add Codota to your java IDE