From aa6e28b581b16e47b71c6dcdacdfad2331bb1b18 Mon Sep 17 00:00:00 2001 From: Rashiq Date: Sun, 7 Jun 2015 10:53:43 +0200 Subject: [PATCH] Add LongClickListener for opening up links in a new tab --- res/values/strings.xml | 1 + res/values/styles.xml | 2 -- .../kiwixmobile/KiwixMobileActivity.java | 35 ++++++++++++++++++- src/org/kiwix/kiwixmobile/KiwixWebView.java | 5 +-- 4 files changed, 38 insertions(+), 5 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 4b096eb13..f0021f65f 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -25,6 +25,7 @@ Select a ZIM Content File (*.zim) Add bookmark Remove bookmark + Open link in new tab? No ZIM files found on your device.\nTake a look at the Help Page to get directions on how to load content into Kiwix.\nIf you did put a ZIM file on your device/external storage, you might retry in a minute or restart your device. Error: The selected ZIM file could not be found. Error: The selected file is not a valid ZIM file. diff --git a/res/values/styles.xml b/res/values/styles.xml index e42aba83d..89f8ec129 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -23,8 +23,6 @@ @drawable/ic_action_delete @color/divider_light @drawable/list_bg_light - -