We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4a88174 + cef7f1c commit 4280b9aCopy full SHA for 4280b9a
app/src/main/java/fr/gaulupeau/apps/Poche/ui/ReadArticleActivity.java
@@ -322,6 +322,16 @@ public boolean onOptionsItemSelected(MenuItem item) {
322
323
@Override
324
public boolean dispatchKeyEvent(KeyEvent event) {
325
+ switch(event.getKeyCode()) {
326
+ case KeyEvent.KEYCODE_PAGE_UP:
327
+ scroll(true, screenScrollingPercent, smoothScrolling);
328
+ return true;
329
+
330
+ case KeyEvent.KEYCODE_PAGE_DOWN:
331
+ scroll(false, screenScrollingPercent, smoothScrolling);
332
333
+ }
334
335
if(volumeButtonsScrolling) {
336
switch(event.getKeyCode()) {
337
case KeyEvent.KEYCODE_VOLUME_UP:
0 commit comments