1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-23 09:52:16 -05:00

Added keyboard control for message zooming

This commit is contained in:
Jesse Vincent 2008-11-03 07:17:42 +00:00
parent c1ad8cffaa
commit 4e75e1b81b

View File

@ -111,6 +111,14 @@ public class MessageView extends Activity
case KeyEvent.KEYCODE_R: { onReply(); return true; }
case KeyEvent.KEYCODE_J: { onPrevious(); return true; }
case KeyEvent.KEYCODE_K: { onNext(); return true; }
case KeyEvent.KEYCODE_Z: { if (event.isShiftPressed()) {
mMessageContentView.zoomIn();
} else {
mMessageContentView.zoomOut();
}
return true; }
}
return super.onKeyDown(keyCode, event);
}