Code example for KeyboardView

Methods: closing, setKeyboard

	public void onStartInputView(EditorInfo attribute, boolean restarting) {
		super.onStartInputView(attribute, restarting);
		// Apply the selected keyboard to the input view. 
	public boolean onKeyUp(int keyCode, KeyEvent event) {
		if(keyCode == KeyEvent.KEYCODE_VOLUME_DOWN) {
			volDownPressed = false;
			return true; 
		} else { 
			return super.onKeyUp(keyCode, event);
	 * Use this to monitor key events being delivered to the application. We get 
	 * first crack at them, and can either resume them or let them continue to