+ new tabs system feature

This commit is contained in:
kelson42 2013-12-02 23:02:02 +01:00
parent 6e914abe97
commit c065d55ea8
95 changed files with 2403 additions and 1369 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -3,84 +3,90 @@
android:id="@+id/MainLayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<LinearLayout
android:id="@+id/articleSearchBar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:visibility="gone"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
>
<AutoCompleteTextView
android:id="@+id/articleSearchTextView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:completionThreshold="1"
android:ellipsize="end"
android:ems="10"
android:hint="@string/articlesearch_hint"
android:imeOptions="actionGo"
android:inputType="text|textCapWords"
android:maxLines="1"
android:background="@android:color/background_dark"
android:textColor="@android:color/primary_text_dark"
/>
</LinearLayout>
<RelativeLayout
android:id="@+id/FullscreenButtonLayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
android:orientation="vertical">
<LinearLayout
android:id="@+id/articleSearchBar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:visibility="gone"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp">
<AutoCompleteTextView
android:id="@+id/articleSearchTextView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:completionThreshold="1"
android:ellipsize="end"
android:ems="10"
android:hint="@string/articlesearch_hint"
android:imeOptions="actionGo"
android:inputType="text|textCapWords"
android:maxLines="1"
android:background="@android:color/background_dark"
android:textColor="@android:color/primary_text_dark"/>
</LinearLayout>
<RelativeLayout
android:id="@+id/ElementsLayout"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:orientation="vertical"
>
<org.kiwix.kiwixmobile.KiwixWebView
android:id="@+id/webview"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<requestFocus />
</org.kiwix.kiwixmobile.KiwixWebView>
<ImageButton
android:id="@+id/FullscreenControlButton"
android:layout_width="55px"
android:layout_height="55px"
android:layout_margin="7px"
android:hint="@string/menu_exitfullscreen"
android:background="#DDFFFFFF"
android:src="@drawable/fullscreen_exit"
android:layout_alignParentRight="true"
android:visibility="invisible"
/>
<Button
android:id="@+id/button_backtotop"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/button_backtotop"
android:alpha="0.6"
android:textColor="@android:color/black"
android:textStyle="bold"
android:background="#DDFFFFFF"
android:layout_centerHorizontal="true"
android:layout_alignParentBottom="true"
android:visibility="invisible"
/>
android:id="@+id/FullscreenButtonLayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<RelativeLayout
android:id="@+id/ElementsLayout"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:orientation="vertical">
<org.kiwix.kiwixmobile.KiwixWebView
android:id="@+id/webview"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<requestFocus/>
</org.kiwix.kiwixmobile.KiwixWebView>
<LinearLayout
android:id="@+id/remove_tab"
android:orientation="vertical"
android:layout_width="150dp"
android:layout_height="150dp"
android:layout_centerInParent="true"
android:background="@drawable/navigation_cancel"
android:visibility="invisible"/>
<ImageButton
android:id="@+id/FullscreenControlButton"
android:layout_width="55px"
android:layout_height="55px"
android:layout_margin="7px"
android:hint="@string/menu_exitfullscreen"
android:background="#DDFFFFFF"
android:src="@drawable/fullscreen_exit"
android:layout_alignParentRight="true"
android:visibility="invisible"/>
<Button
android:id="@+id/button_backtotop"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:alpha="0.6"
android:gravity="center"
android:textColor="@android:color/black"
android:textStyle="bold"
android:background="#DDFFFFFF"
android:layout_centerHorizontal="true"
android:layout_alignParentBottom="true"
android:visibility="invisible"/>
</RelativeLayout>
</RelativeLayout>
</RelativeLayout>
</LinearLayout>

6
res/layout/viewpager.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.view.ViewPager xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/viewPager"
android:layout_width="match_parent"
android:layout_height="match_parent"/>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Wys</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">عرض</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">প্রদর্শন</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Күрһәтергә</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Паказаць</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Показване</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Jirayɔrɔ</string>
<string name="pref_zoom_title">Bonya/dɔgɔya hakɛ</string>
<string name="pref_zoom_dialogtitle">Bonya/dɔgɔya hakɛ</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">প্রদর্শন</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Diskwel</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Titouroù</string>
<string name="pref_info_version">Stumm</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Visualitza</string>
<string name="pref_zoom_title">Nivell de zoom</string>
<string name="pref_zoom_dialogtitle">Nivell de zoom</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Informació</string>
<string name="pref_info_version">Versió</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Mostra un botó al final de la pàgina per desplaçar-se cap a la part superior</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Zobrazení</string>
<string name="pref_zoom_title">Úroveň zvětšení</string>
<string name="pref_zoom_dialogtitle">Úroveň zvětšení</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Informace</string>
<string name="pref_info_version">Verze</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Кăтарт</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Golwg</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Vis</string>
<string name="pref_zoom_title">Zoom-niveau</string>
<string name="pref_zoom_dialogtitle">Zoom-niveau</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Få vist en knap i slutningen af siden for at rulle op til toppen</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Bildschirm</string>
<string name="pref_zoom_title">Vergrößerungsstufe</string>
<string name="pref_zoom_dialogtitle">Vergrößerungsstufe</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Zeigt einen Button am Seitenende an, um zum Anfang hochzuscrollen.</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Εμφάνιση</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Πληροφορίες</string>
<string name="pref_info_version">Έκδοση</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Montri</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Mostrar</string>
<string name="pref_zoom_title">Nivel de zoom</string>
<string name="pref_zoom_dialogtitle">Nivel de zoom</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Información</string>
<string name="pref_info_version">Versión</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Mostrar un botón al final de la página para desplazarse al comienzo</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Vaade</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">نمایش</string>
<string name="pref_zoom_title">سطح بزرگ/کوچک‌نمایی</string>
<string name="pref_zoom_dialogtitle">سطح بزرگ/کوچک‌نمایی</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">اطلاعات</string>
<string name="pref_info_version">نسخه</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">نمایش دکمه در پایان صفحه برای انتقال به بالا</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Näytä</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Vís</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Affichage</string>
<string name="pref_zoom_title">Niveau de zoom</string>
<string name="pref_zoom_dialogtitle">Niveau de zoom</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Afficher un bouton en bas de la page pour revenir au début</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Visualización</string>
<string name="pref_zoom_title">Nivel de zoom</string>
<string name="pref_zoom_dialogtitle">Nivel de zoom</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Información</string>
<string name="pref_info_version">Versión</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Mostrar un botón ao final da páxina para volver ao inicio da mesma</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">દર્શાવો</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">תצוגה</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">डिस्प्ले</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Prikaz</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Megjelenítés</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Visualisation</string>
<string name="pref_zoom_title">Nivello de zoom</string>
<string name="pref_zoom_dialogtitle">Nivello de zoom</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Tampilan</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Exposition</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Visualizza</string>
<string name="pref_zoom_title">Livello di zoom</string>
<string name="pref_zoom_dialogtitle">Livello di zoom</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Informazioni</string>
<string name="pref_info_version">Versione</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Mostra un pulsante alla fine della pagina per scorrere fino all\'inizio</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">表示</string>
<string name="pref_zoom_title">ズーム レベル</string>
<string name="pref_zoom_dialogtitle">ズーム レベル</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">情報</string>
<string name="pref_info_version">バージョン</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Pajangan</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">ჩვენება</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">បង្ហាញ</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">ಪ್ರದರ್ಶಿಸು</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">표시</string>
<string name="pref_zoom_title">확대/축소 수준</string>
<string name="pref_zoom_dialogtitle">확대/축소 수준</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">정보</string>
<string name="pref_info_version">버전</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Көрсөтүү</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Weisen</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Bild</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Rodyti</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Displejs</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Приказ</string>
<string name="pref_zoom_title">Ниво на приближеност</string>
<string name="pref_zoom_dialogtitle">Ниво на приближеност</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Информации</string>
<string name="pref_info_version">Верзија</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Прикажувај копче за враќање најгоре на крајот од страницата</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">കാഴ്ച</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Үзүүлэх</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Paparan</string>
<string name="pref_zoom_title">Takat zum</string>
<string name="pref_zoom_dialogtitle">Takat zum</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Viżwal</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">မြင်ကွင်း</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Skjerm</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">दृश्य</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Beeld</string>
<string name="pref_zoom_title">Zoomniveau</string>
<string name="pref_zoom_dialogtitle">Zoomniveau</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Informatie</string>
<string name="pref_info_version">Versie</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Aan het einde van de pagina een knop weergeven om terug te gaan naar boven</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Zoeken naar ZIM-bestanden. Even geduld...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Skjerm</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Afichar</string>
<string name="pref_zoom_title">Nivèl de zoom</string>
<string name="pref_zoom_dialogtitle">Nivèl de zoom</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">ଦେଖଣା</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Widok</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Wersja</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">ښکارېدنه</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Ver</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Qhawachiy</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Vista</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Afișare</string>
<string name="pref_zoom_title">Nivel de zoom</string>
<string name="pref_zoom_dialogtitle">Nivel de zoom</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Показать</string>
<string name="pref_zoom_title">Уровень масштабирования</string>
<string name="pref_zoom_dialogtitle">Уровень масштабирования</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Информация</string>
<string name="pref_info_version">Версия</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Отобразить кнопку в конце страницы для прокрутки вверх</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">प्रकाश</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Prikaži</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">පෙන්වීම</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Zobrazenie</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Prikaz</string>
<string name="pref_zoom_title">Raven zumiranja</string>
<string name="pref_zoom_dialogtitle">Raven zumiranja</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Shfaq</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Panémbong</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Visa</string>
<string name="pref_zoom_title">Zoomnivå</string>
<string name="pref_zoom_dialogtitle">Zoomnivå</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Visar en knapp i slutet på sidan för att rulla upp till toppen</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Onesha</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">காண்பி</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">దర్శనం</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">แสดงผล</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Palitawin</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Göster</string>
<string name="pref_zoom_title">Zum seviyesi</string>
<string name="pref_zoom_dialogtitle">Zum seviyesi</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Bilgi</string>
<string name="pref_info_version">Sürüm</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Başa dönmek için sayfanın altında bir düğme görüntüler</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Показати</string>
<string name="pref_zoom_title">Рівень масштабування</string>
<string name="pref_zoom_dialogtitle">Рівень масштабування</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Інформація</string>
<string name="pref_info_version">Версія</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Відображати кнопки в кінці сторінки для прокрутки вгору</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">تظاہرہ</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Koʻrsatish</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Hiển thị</string>
<string name="pref_zoom_title">Mức thu phóng</string>
<string name="pref_zoom_dialogtitle">Mức thu phóng</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Thông tin</string>
<string name="pref_info_version">Phiên bản</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Hiển thị nút ở cuối trang để di chuyển lên trên cùng</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">אויסשטעלונג</string>
<string name="pref_zoom_title">פארגרעסערונג ניווא</string>
<string name="pref_zoom_dialogtitle">פארגרעסערונג ניווא</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">Ìmúhàn</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

View File

@ -28,12 +28,11 @@
<string name="pref_display_title">显示</string>
<string name="pref_zoom_title">Zoom level</string>
<string name="pref_zoom_dialogtitle">Zoom level</string>
<string-array
name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="pref_zoom_entries">
<item>Automatic</item>
<item>Small</item>
<item>Medium</item>
<item>Large</item>
</string-array>
<string name="pref_info_title">Information</string>
<string name="pref_info_version">Version</string>
@ -45,4 +44,9 @@
<string name="pref_backtotop_summary">Display a button at the end of the page to scroll up to the top</string>
<string name="rescan_fs">Rescan SD card</string>
<string name="rescan_fs_warning">Scanning for ZIM files, please wait...</string>
<string name="remove_tab">Remove Tab</string>
<string name="add_tab">Add new Tab</string>
<string name="remove">Remove</string>
<string name="open_in_new_tab">Open link in new Tab?</string>
<string name="share_via">Share via</string>
</resources>

4
res/values/ids.xml Normal file
View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item name="action_bar_tab_id" type="id">ActionBarTab</item>
</resources>

View File

@ -1,33 +1,45 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory
android:key="pref_display"
android:title="@string/pref_display_title">
<ListPreference
android:key="pref_zoom"
android:title="@string/pref_zoom_title"
android:dialogTitle="@string/pref_zoom_dialogtitle"
android:entries="@array/pref_zoom_entries"
android:entryValues="@array/pref_zoom_entryvalues"
android:defaultValue="automatic" />
<CheckBoxPreference android:key="pref_zoom_enabled" android:title="@string/pref_zoom_enable" android:summary="@string/pref_zoom_enable_summary" android:defaultValue="false"/>
<CheckBoxPreference android:key="pref_nightmode" android:title="@string/pref_nightmode" android:defaultValue="false" android:summary="@string/pref_nightmode_summary"/>
<CheckBoxPreference android:key="pref_backtotop" android:title="@string/pref_backtotop" android:summary="@string/pref_backtotop_summary" android:defaultValue="true"/>
<PreferenceCategory
android:key="pref_display"
android:title="@string/pref_display_title">
<ListPreference
android:key="pref_zoom"
android:title="@string/pref_zoom_title"
android:dialogTitle="@string/pref_zoom_dialogtitle"
android:entries="@array/pref_zoom_entries"
android:entryValues="@array/pref_zoom_entryvalues"
android:defaultValue="automatic"/>
<CheckBoxPreference
android:key="pref_zoom_enabled"
android:title="@string/pref_zoom_enable"
android:summary="@string/pref_zoom_enable_summary"
android:defaultValue="false"/>
<CheckBoxPreference
android:key="pref_nightmode"
android:title="@string/pref_nightmode"
android:defaultValue="false"
android:summary="@string/pref_nightmode_summary"/>
<CheckBoxPreference
android:key="pref_backtotop"
android:title="@string/pref_backtotop"
android:summary="@string/pref_backtotop_summary"
android:defaultValue="true"/>
</PreferenceCategory>
<PreferenceCategory
android:title="@string/pref_info_title"
android:key="pref_info">
<EditTextPreference
android:key="pref_version"
android:title="@string/pref_info_version"
android:enabled="false"
android:selectable="false"
android:persistent="false"
android:shouldDisableView="false"/>
</PreferenceCategory>
</PreferenceCategory>
<PreferenceCategory
android:title="@string/pref_info_title"
android:key="pref_info">
<EditTextPreference
android:key="pref_version"
android:title="@string/pref_info_version"
android:enabled="false"
android:selectable="false"
android:persistent="false"
android:shouldDisableView="false"/>
</PreferenceCategory>
</PreferenceScreen>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,913 @@
package org.kiwix.kiwixmobile;
import android.annotation.SuppressLint;
import android.app.ActionBar;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.res.Configuration;
import android.graphics.Color;
import android.graphics.PorterDuff;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.preference.PreferenceManager;
import android.support.v4.app.Fragment;
import android.text.Editable;
import android.text.InputType;
import android.text.TextWatcher;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.DragEvent;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.MeasureSpec;
import android.view.View.OnTouchListener;
import android.view.ViewGroup;
import android.view.animation.AnimationUtils;
import android.view.inputmethod.InputMethodManager;
import android.webkit.WebChromeClient;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.widget.AutoCompleteTextView;
import android.widget.Button;
import android.widget.Filter;
import android.widget.Filterable;
import android.widget.ImageButton;
import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.TextView.OnEditorActionListener;
import android.widget.Toast;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
public class KiwixMobileFragment extends Fragment {
public static final String TAG_KIWIX = "kiwix";
private static final String TAG_CURRENTZIMFILE = "currentzimfile";
private static final String TAG_CURRENTARTICLE = "currentarticle";
private static final String PREF_ZOOM = "pref_zoom";
private static final String PREF_NIGHTMODE = "pref_nightmode";
private static final String PREF_ZOOM_ENABLED = "pref_zoom_enabled";
private static final String PREFS_KIWIX_MOBILE = "kiwix-mobile";
private static final String AUTOMATIC = "automatic";
private static final String MEDIUM = "medium";
private static final String SMALL = "small";
private static final String LARGE = "large";
private static final int ZIMFILESELECT_REQUEST_CODE = 1234;
private static final int PREFERENCES_REQUEST_CODE = 1235;
public LinearLayout articleSearchBar;
public Menu menu;
public KiwixWebView webView;
public boolean isFullscreenOpened;
public ImageButton exitFullscreenButton;
protected boolean requestClearHistoryAfterLoad;
protected boolean requestInitAllMenuItems;
protected boolean nightMode;
protected int requestWebReloadOnFinished;
private SharedPreferences mySharedPreferences;
private boolean isButtonEnabled = true;
private AutoCompleteTextView articleSearchtextView;
private ArrayAdapter<String> adapter;
private Button mBackToTopButton;
private LinearLayout mTabDeleteCross;
private FragmentCommunicator mFragmentCommunicator;
@Override
public void setRetainInstance(boolean retain) {
super.setRetainInstance(retain);
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
final View root = inflater.inflate(R.layout.main, container, false);
webView = (KiwixWebView) root.findViewById(R.id.webview);
mBackToTopButton = (Button) root.findViewById(R.id.button_backtotop);
mTabDeleteCross = (LinearLayout) root.findViewById(R.id.remove_tab);
exitFullscreenButton = (ImageButton) root.findViewById(R.id.FullscreenControlButton);
exitFullscreenButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
mFragmentCommunicator.closeFullScreenMode();
}
});
webView.setOnPageChangedListener(new KiwixWebView.OnPageChangeListener() {
@Override
public void onPageChanged(int page, int maxPages) {
if (isButtonEnabled) {
if (((double) page / maxPages) >= 0.1) {
if (mBackToTopButton.getVisibility() == View.INVISIBLE) {
mBackToTopButton.setText(R.string.button_backtotop);
mBackToTopButton.setVisibility(View.VISIBLE);
mBackToTopButton.startAnimation(
AnimationUtils.loadAnimation(getActivity(), android.R.anim.fade_in));
}
} else {
if (mBackToTopButton.getVisibility() == View.VISIBLE) {
mBackToTopButton.setVisibility(View.INVISIBLE);
//U said you wanted fancy huh,then this might just do it.
mBackToTopButton.startAnimation(
AnimationUtils.loadAnimation(getActivity(), android.R.anim.fade_out));
}
}
}
}
});
webView.setOnLongClickListener(new KiwixWebView.OnLongClickListener() {
@Override
public void onLongClick(final String url) {
boolean handleEvent = false;
if (url.startsWith(ZimContentProvider.CONTENT_URI.toString())) {
// This is my web site, so do not override; let my WebView load the page
handleEvent = true;
} else if (url.startsWith("file://")) {
// To handle help page (loaded from resources)
handleEvent = true;
} else if (url.startsWith(ZimContentProvider.UI_URI.toString())) {
handleEvent = true;
}
if (handleEvent) {
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
builder.setPositiveButton(android.R.string.yes, new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int id) {
mFragmentCommunicator.addNewTab(url);
}
});
builder.setNegativeButton(android.R.string.no, null);
builder.setMessage(getString(R.string.open_in_new_tab));
AlertDialog dialog = builder.create();
dialog.show();
}
}
});
mTabDeleteCross.setOnDragListener(new View.OnDragListener() {
@Override
public boolean onDrag(View v, DragEvent event) {
switch (event.getAction()) {
case DragEvent.ACTION_DROP:
int tabPosition = mFragmentCommunicator.getPositionOfTab();
mFragmentCommunicator.removeTabAt(tabPosition);
case DragEvent.ACTION_DRAG_ENDED:
mTabDeleteCross.startAnimation(
AnimationUtils.loadAnimation(getActivity(), android.R.anim.fade_out));
mTabDeleteCross.setVisibility(View.INVISIBLE);
mTabDeleteCross.getBackground().clearColorFilter();
}
return true;
}
});
articleSearchBar = (LinearLayout) root.findViewById(R.id.articleSearchBar);
articleSearchtextView = (AutoCompleteTextView) root.findViewById(R.id.articleSearchTextView);
final Drawable clearIcon = getResources().getDrawable(R.drawable.navigation_cancel);
final Drawable searchIcon = getResources().getDrawable(R.drawable.action_search);
if (savedInstanceState != null) {
webView.restoreState(savedInstanceState);
}
articleSearchtextView.measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED);
int height = articleSearchtextView.getMeasuredHeight() - articleSearchtextView.getPaddingTop()
- articleSearchtextView.getPaddingBottom();
clearIcon.setBounds(0, 0, height, height);
searchIcon.setBounds(0, 0, height, height);
articleSearchtextView.setCompoundDrawablePadding(5);
articleSearchtextView.setCompoundDrawables(searchIcon, null,
articleSearchtextView.getText().toString().equals("") ? null : clearIcon, null);
final Drawable clearIcon2 = clearIcon;
final Drawable searchIcon2 = searchIcon;
articleSearchtextView.setOnTouchListener(new OnTouchListener() {
private final Drawable mClearIcon = clearIcon2;
private final Drawable mSearchIcon = searchIcon2;
@Override
public boolean onTouch(View v, MotionEvent event) {
if (articleSearchtextView.getCompoundDrawables()[2] == null) {
return false;
}
if (event.getAction() != MotionEvent.ACTION_UP) {
return false;
}
if (event.getX() > articleSearchtextView.getWidth() - articleSearchtextView.getPaddingRight()
- mClearIcon.getIntrinsicWidth()) {
articleSearchtextView.setText("");
articleSearchtextView.setCompoundDrawables(mSearchIcon, null, null, null);
}
return false;
}
});
final Drawable searchIcon1 = searchIcon;
final Drawable clearIcon1 = clearIcon;
articleSearchtextView.addTextChangedListener(new TextWatcher() {
private final Drawable mSearchIcon = searchIcon1;
private final Drawable mClearIcon = clearIcon1;
@Override
public void onTextChanged(CharSequence s, int start, int before, int count) {
articleSearchtextView.setCompoundDrawables(mSearchIcon, null,
articleSearchtextView.getText().toString().equals("") ? null : mClearIcon,
null);
}
@Override
public void afterTextChanged(Editable arg0) {
}
@Override
public void beforeTextChanged(CharSequence s, int start, int count, int after) {
}
});
// Create the adapter and set it to the AutoCompleteTextView
adapter = new AutoCompleteAdapter(getActivity(),
android.R.layout.simple_list_item_1);
articleSearchtextView.setAdapter(adapter);
articleSearchtextView.setOnItemClickListener(new OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
articleSearchtextView.setText(parent.getItemAtPosition(position).toString());
openArticleFromSearch();
}
});
articleSearchtextView.setOnEditorActionListener(new OnEditorActionListener() {
@Override
public boolean onEditorAction(TextView v, int actionId,
KeyEvent event) {
return openArticleFromSearch();
}
});
articleSearchtextView.setInputType(InputType.TYPE_CLASS_TEXT);
// js includes will not happen unless we enable JS
webView.getSettings().setJavaScriptEnabled(true);
webView.setWebChromeClient(new MyWebChromeClient());
root.findViewById(R.id.button_backtotop).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
webView.pageUp(true);
}
});
// Should basically resemble the behavior when setWebClient not done
// (i.p. internal urls load in webview, external urls in browser)
// as currently no custom setWebViewClient required it is commented
webView.setWebViewClient(new MyWebViewClient());
loadPrefs();
// webView.getSettings().setLoadsImagesAutomatically(false);
// Does not make much sense to cache data from zim files.(Not clear whether
// this actually has any effect)
webView.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);
if (getActivity().getIntent().getData() != null) {
String filePath = getActivity().getIntent().getData().getPath();
Log.d(TAG_KIWIX, " Kiwix started from a filemanager. Intent filePath: " + filePath
+ " -> open this zimfile and load main page");
openZimFile(new File(filePath), false);
} else if (savedInstanceState != null) {
Log.d(TAG_KIWIX,
" Kiwix started with a savedInstanceState (That is was closed by OS) -> restore webview state and zimfile (if set)");
if (savedInstanceState.getString(TAG_CURRENTZIMFILE) != null) {
openZimFile(new File(savedInstanceState.getString(TAG_CURRENTZIMFILE)), false);
}
if (savedInstanceState.getString(TAG_CURRENTARTICLE) != null) {
webView.loadUrl(savedInstanceState.getString(TAG_CURRENTARTICLE));
}
webView.restoreState(savedInstanceState);
// Restore the state of the WebView
// (Very ugly) Workaround for #643 Android article blank after rotation and app reload
// In case of restore state, just reload page multiple times. Probability
// that after two refreshes page is still blank is low.
// TODO: implement better fix
requestWebReloadOnFinished = 2;
Log.d(TAG_KIWIX, "Workaround for #643: reload " + requestWebReloadOnFinished
+ " times after restoring state");
} else {
SharedPreferences settings = getActivity().getSharedPreferences(PREFS_KIWIX_MOBILE, 0);
String zimFile = settings.getString(TAG_CURRENTZIMFILE, null);
if (zimFile != null) {
Log.d(TAG_KIWIX, " Kiwix normal start, zimFile loaded last time -> Open last used zimFile "
+ zimFile);
openZimFile(new File(zimFile), false);
// Alternative would be to restore webView state. But more effort to implement, and actually
// fits better normal android behavior if after closing app ("back" button) state is not maintained.
} else {
Log.d(TAG_KIWIX, " Kiwix normal start, no zimFile loaded last time -> display welcome page");
showWelcome();
}
}
return root;
}
@SuppressLint("SetJavaScriptEnabled")
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setHasOptionsMenu(true);
requestClearHistoryAfterLoad = false;
requestWebReloadOnFinished = 0;
requestInitAllMenuItems = false;
nightMode = false;
isFullscreenOpened = false;
}
@Override
public void onConfigurationChanged(Configuration newConfig) {
super.onConfigurationChanged(newConfig);
}
@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
switch (requestCode) {
case ZIMFILESELECT_REQUEST_CODE:
if (resultCode == Activity.RESULT_OK) {
// The URI of the selected file
final Uri uri = data.getData();
File file = null;
if (uri != null) {
String path = uri.getPath();
if (path != null) {
file = new File(path);
}
}
if (file == null) {
return;
}
// Create a File from this Uri
openZimFile(file, true);
new Handler(Looper.getMainLooper()).post(new Runnable() {
@Override
public void run() {
getActivity().finish();
startActivity(new Intent(getActivity(), KiwixMobileActivity.class));
}
});
}
break;
case PREFERENCES_REQUEST_CODE:
loadPrefs();
getActivity().finish();
startActivity(new Intent(getActivity(), KiwixMobileActivity.class));
break;
}
super.onActivityResult(requestCode, resultCode, data);
}
public void loadPrefs() {
mySharedPreferences = PreferenceManager.getDefaultSharedPreferences(getActivity());
String pref_zoom = mySharedPreferences.getString(PREF_ZOOM, AUTOMATIC);
Boolean pref_zoom_enabled = mySharedPreferences.getBoolean(PREF_ZOOM_ENABLED, false);
Boolean pref_nightmode = mySharedPreferences.getBoolean(PREF_NIGHTMODE, false);
isButtonEnabled = mySharedPreferences.getBoolean("pref_top_button", isButtonEnabled);
if (pref_zoom.equals(AUTOMATIC)) {
setDefaultZoom();
} else if (pref_zoom.equals(MEDIUM)) {
webView.getSettings().setDefaultZoom(WebSettings.ZoomDensity.MEDIUM);
} else if (pref_zoom.equals(SMALL)) {
webView.getSettings().setDefaultZoom(WebSettings.ZoomDensity.FAR);
} else if (pref_zoom.equals(LARGE)) {
webView.getSettings().setDefaultZoom(WebSettings.ZoomDensity.CLOSE);
} else {
Log.w(TAG_KIWIX, "pref_displayZoom value (" + pref_zoom + " unknown. Assuming automatic");
webView.getSettings().setDefaultZoom(WebSettings.ZoomDensity.MEDIUM);
}
// Pinch to zoom
// This seems to suffer from a bug in Android. If you set to "false" this only apply after a restart of the app.
Log.d(TAG_KIWIX, "pref_zoom_enabled value (" + pref_zoom_enabled + ")");
webView.getSettings().setBuiltInZoomControls(true);
webView.getSettings().setDisplayZoomControls(pref_zoom_enabled);
if (!isButtonEnabled) {
if (mBackToTopButton.getVisibility() == View.VISIBLE) {
mBackToTopButton.setVisibility(View.INVISIBLE);
}
}
// Night mode status
Log.d(TAG_KIWIX, "pref_nightmode value (" + pref_nightmode + ")");
if (nightMode != pref_nightmode) {
ToggleNightMode();
}
}
@Override
public void onPause() {
super.onPause();
SharedPreferences settings = getActivity().getSharedPreferences(PREFS_KIWIX_MOBILE, 0);
SharedPreferences.Editor editor = settings.edit();
editor.putString(TAG_CURRENTZIMFILE, ZimContentProvider.getZimFile());
// Commit the edits!
editor.commit();
Log.d(TAG_KIWIX,
"onPause Save currentzimfile to preferences:" + ZimContentProvider.getZimFile());
}
@Override
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
inflater.inflate(R.menu.main, menu);
this.menu = menu;
if (requestInitAllMenuItems) {
initAllMenuItems();
}
super.onCreateOptionsMenu(menu, inflater);
}
public void selectZimFile() {
final Intent target = new Intent(getActivity(), ZimFileSelectActivity.class);
target.setAction(Intent.ACTION_GET_CONTENT);
// The MIME data type filter
target.setType("//");
// Only return URIs that can be opened with ContentResolver
target.addCategory(Intent.CATEGORY_OPENABLE);
// Force use of our file selection component.
// (Note may make sense to just define a custom intent instead)
startActivityForResult(target, ZIMFILESELECT_REQUEST_CODE);
}
public void selectSettings() {
Intent i = new Intent(getActivity(), KiwixSettings.class);
startActivityForResult(i, PREFERENCES_REQUEST_CODE);
}
public void showSearchBar() {
showSearchBar(true);
}
private void showSearchBar(Boolean focus) {
articleSearchBar.setVisibility(View.VISIBLE);
if (focus) {
articleSearchtextView.requestFocus();
// Move cursor to end
articleSearchtextView.setSelection(articleSearchtextView.getText().length());
InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(
Context.INPUT_METHOD_SERVICE);
imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, 0);
}
}
public void handleTabDeleteCross() {
// The Result of being a developer and not a photoshop artist: Instead of creating red icons for all
// densities, we will just use the previously added white cross icon and apply a red filter on it.
mTabDeleteCross.getBackground().setColorFilter(Color.RED, PorterDuff.Mode.MULTIPLY);
mTabDeleteCross.setVisibility(View.VISIBLE);
mTabDeleteCross.startAnimation(AnimationUtils.loadAnimation(getActivity(), android.R.anim.fade_in));
}
public void showWelcome() {
webView.loadUrl("file:///android_res/raw/welcome.html");
}
private void showHelp() {
// Load from resource. Use with base url as else no images can be embedded.
// Note that this leads inclusion of welcome page in browser history
// This is not perfect, but good enough. (and would be signifcant effort to remove file)
webView.loadUrl("file:///android_res/raw/help.html");
}
public boolean openZimFile(File file, boolean clearHistory) {
if (file.exists()) {
if (ZimContentProvider.setZimFile(file.getAbsolutePath()) != null) {
getActivity().getActionBar().setSubtitle(ZimContentProvider.getZimFileTitle());
// Apparently with webView.clearHistory() only history before currently (fully)
// loaded page is cleared -> request clear, actual clear done after load.
// Probably not working in all corners (e.g. zim file openend
// while load in progress, mainpage of new zim file invalid, ...
// but should be good enough.
// Actually probably redundant if no zim file openend before in session,
// but to be on save side don't clear history in such cases.
if (clearHistory) {
requestClearHistoryAfterLoad = true;
}
if (menu != null) {
initAllMenuItems();
} else {
// Menu may not be initialized yet. In this case
// signal to menu create to show
requestInitAllMenuItems = true;
}
openMainPage();
showSearchBar(false);
return true;
} else {
Toast.makeText(getActivity(), getResources().getString(R.string.error_fileinvalid),
Toast.LENGTH_LONG).show();
}
} else {
Toast.makeText(getActivity(), getResources().getString(R.string.error_filenotfound),
Toast.LENGTH_LONG).show();
}
return false;
}
private void initAllMenuItems() {
menu.findItem(R.id.menu_fullscreen).setVisible(true);
menu.findItem(R.id.menu_back).setVisible(true);
menu.findItem(R.id.menu_forward).setVisible(false);
menu.findItem(R.id.menu_home).setVisible(true);
menu.findItem(R.id.menu_randomarticle).setVisible(true);
menu.findItem(R.id.menu_searchintext).setVisible(true);
menu.findItem(R.id.menu_search).setVisible(true);
menu.findItem(R.id.menu_add_tab).setVisible(true);
menu.findItem(R.id.menu_remove_tab).setVisible(true);
}
public void onKeyDown(int keyCode, KeyEvent event) {
if (event.getAction() == KeyEvent.ACTION_DOWN) {
switch (keyCode) {
case KeyEvent.KEYCODE_BACK:
if (webView.canGoBack()) {
webView.goBack();
} else {
getActivity().finish();
}
}
}
}
@Override
public void onSaveInstanceState(Bundle outState) {
super.onSaveInstanceState(outState);
webView.saveState(outState);
outState.putString(TAG_CURRENTZIMFILE, ZimContentProvider.getZimFile());
outState.putString(TAG_CURRENTARTICLE, webView.getUrl());
}
private boolean openArticle(String articleUrl) {
Log.d(TAG_KIWIX, articleSearchtextView + " onEditorAction. TextView: " + articleSearchtextView
.getText() + " articleUrl: " + articleUrl);
if (articleUrl != null) {
// hideSearchBar();
webView.loadUrl(Uri.parse(ZimContentProvider.CONTENT_URI
+ articleUrl).toString());
return true;
} else {
String errorString = String.format(getResources().getString(R.string.error_articlenotfound),
articleSearchtextView.getText().toString());
Toast.makeText(getActivity().getWindow().getContext(), errorString, Toast.LENGTH_SHORT).show();
return true;
}
}
private boolean openArticleFromSearch() {
Log.d(TAG_KIWIX, "openArticleFromSearch: " + articleSearchtextView.getText());
String articleTitle = articleSearchtextView.getText().toString();
String articleUrl = ZimContentProvider.getPageUrlFromTitle(articleTitle);
return openArticle(articleUrl);
}
public boolean openRandomArticle() {
String articleUrl = ZimContentProvider.getRandomArticleUrl();
Log.d(TAG_KIWIX, "openRandomArticle: " + articleUrl);
return openArticle(articleUrl);
}
public boolean openMainPage() {
String articleUrl = ZimContentProvider.getMainPage();
return openArticle(articleUrl);
}
public boolean isTablet(Context context) {
return (context.getResources().getConfiguration().screenLayout
& Configuration.SCREENLAYOUT_SIZE_MASK) >= Configuration.SCREENLAYOUT_SIZE_LARGE;
}
public void hideSearchBar() {
// Hide searchbar
articleSearchBar.setVisibility(View.GONE);
// To close softkeyboard
webView.requestFocus();
// Seems not really be necessary
InputMethodManager imm = (InputMethodManager) getActivity()
.getSystemService(Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(articleSearchtextView.getWindowToken(), 0);
}
private void ToggleNightMode() {
try {
InputStream stream = getActivity().getAssets().open("invertcode.js");
int size = stream.available();
byte[] buffer = new byte[size];
stream.read(buffer);
stream.close();
String JSInvert = new String(buffer);
webView.loadUrl("javascript:" + JSInvert);
nightMode = !nightMode;
} catch (IOException e) {
}
}
public void setDefaultZoom() {
DisplayMetrics metrics = new DisplayMetrics();
getActivity().getWindowManager().getDefaultDisplay().getMetrics(metrics);
// Cleaner than approach used in 1.0 to set CLOSE for tables, MEDIUM for phones.
// However, unfortunately at least on Samsung Galaxy Tab 2 density is medium.
// Anyway, user can now override so it should be ok.
switch (metrics.densityDpi) {
case DisplayMetrics.DENSITY_HIGH:
Log.d(TAG_KIWIX, "setDefaultZoom for Display DENSITY_HIGH-> ZoomDensity.FAR ");
webView.getSettings().setDefaultZoom(WebSettings.ZoomDensity.FAR);
break;
case DisplayMetrics.DENSITY_MEDIUM:
Log.d(TAG_KIWIX, "setDefaultZoom for Display DENSITY_MEDIUM-> ZoomDensity.MEDIUM ");
webView.getSettings().setDefaultZoom(WebSettings.ZoomDensity.MEDIUM);
break;
case DisplayMetrics.DENSITY_LOW:
Log.d(TAG_KIWIX, "setDefaultZoom for Display DENSITY_LOW-> ZoomDensity.CLOSE ");
webView.getSettings().setDefaultZoom(WebSettings.ZoomDensity.CLOSE);
break;
default:
Log.d(TAG_KIWIX, "setDefaultZoom for Display OTHER -> ZoomDensity.MEDIUM ");
webView.getSettings().setDefaultZoom(WebSettings.ZoomDensity.MEDIUM);
break;
}
}
@Override
public void onAttach(Activity activity) {
mFragmentCommunicator = (KiwixMobileActivity) activity;
super.onAttach(activity);
}
// Interface through which we will communicate from the Fragment to the Activity
public interface FragmentCommunicator {
public void removeTabAt(int position);
public void addNewTab(String url);
public void closeFullScreenMode();
public int getPositionOfTab();
}
public class AutoCompleteAdapter extends ArrayAdapter<String> implements Filterable {
private ArrayList<String> mData;
public AutoCompleteAdapter(Context context, int textViewResourceId) {
super(context, textViewResourceId);
mData = new ArrayList<String>();
}
@Override
public int getCount() {
return mData.size();
}
@Override
public String getItem(int index) {
return mData.get(index);
}
@Override
public Filter getFilter() {
Filter myFilter = new Filter() {
@Override
protected FilterResults performFiltering(CharSequence constraint) {
FilterResults filterResults = new FilterResults();
ArrayList<String> data = new ArrayList<String>();
if (constraint != null) {
// A class that queries a web API, parses the data and returns an ArrayList<Style>
try {
String prefix = constraint.toString();
ZimContentProvider.searchSuggestions(prefix, 200);
String suggestion;
data.clear();
while ((suggestion = ZimContentProvider.getNextSuggestion()) != null) {
data.add(suggestion);
}
} catch (Exception e) {
}
// Now assign the values and count to the FilterResults object
filterResults.values = data;
filterResults.count = data.size();
}
return filterResults;
}
@SuppressWarnings("unchecked")
@Override
protected void publishResults(CharSequence contraint, FilterResults results) {
if (results != null && results.count > 0) {
notifyDataSetChanged();
mData = (ArrayList<String>) results.values;
} else {
notifyDataSetInvalidated();
}
}
};
return myFilter;
}
}
private class MyWebChromeClient extends WebChromeClient {
public void onProgressChanged(WebView view, int progress) {
getActivity().setProgress(progress * 100);
if (progress == 100) {
Log.d(TAG_KIWIX, "Loading article finished.");
if (requestClearHistoryAfterLoad) {
Log.d(TAG_KIWIX,
"Loading article finished and requestClearHistoryAfterLoad -> clearHistory");
webView.clearHistory();
requestClearHistoryAfterLoad = false;
}
Log.d(TAG_KIWIX, "Loaded URL: " + webView.getUrl());
if (nightMode) {
nightMode = false;
ToggleNightMode();
}
}
}
}
private class MyWebViewClient extends WebViewClient {
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url) {
if (url.startsWith(ZimContentProvider.CONTENT_URI.toString())) {
// This is my web site, so do not override; let my WebView load the page
return false;
} else if (url.startsWith("file://")) {
// To handle help page (loaded from resources)
return true;
} else if (url.startsWith("javascript:")) {
// Allow javascript for HTML functions and code execution (EX: night mode)
return true;
} else if (url.startsWith(ZimContentProvider.UI_URI.toString())) {
// To handle links which access user interface (i.p. used in help page)
if (url.equals(ZimContentProvider.UI_URI.toString() + "selectzimfile")) {
selectZimFile();
} else if (url.equals(ZimContentProvider.UI_URI.toString() + "gotohelp")) {
showHelp();
} else {
Log.e(TAG_KIWIX, "UI Url " + url + " not supported.");
}
return true;
}
// Otherwise, the link is not for a page on my site, so launch another Activity that handles URLs
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
startActivity(intent);
return true;
}
@Override
public void onReceivedError(WebView view, int errorCode, String description,
String failingUrl) {
String errorString = String
.format(getResources().getString(R.string.error_articleurlnotfound),
failingUrl);
// TODO apparently screws up back/forward
webView.loadDataWithBaseURL("file://error",
"<html><body>" + errorString + "</body></html>", "text/html", "utf-8",
failingUrl);
String title = getResources().getString(R.string.app_name);
getActivity().getActionBar().setTitle(title);
}
@Override
public void onPageFinished(WebView view, String url) {
String title = getResources().getString(R.string.app_name);
if (webView.getTitle() != null && !webView.getTitle().isEmpty()) {
title = webView.getTitle();
}
if (getActivity().getActionBar().getTabCount() < 2) {
getActivity().getActionBar().setTitle(title);
}
if (getActivity().getActionBar().getNavigationMode() == ActionBar.NAVIGATION_MODE_TABS) {
getActivity().getActionBar().getSelectedTab().setText(title);
}
//Workaround for #643
if (requestWebReloadOnFinished > 0) {
requestWebReloadOnFinished = requestWebReloadOnFinished - 1;
Log.d(TAG_KIWIX, "Workaround for #643: onPageFinished. Trigger reloading. ("
+ requestWebReloadOnFinished + " reloads left to do)");
view.reload();
}
}
}
}

View File

@ -2,19 +2,18 @@ package org.kiwix.kiwixmobile;
import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.webkit.WebView;
/**
* Created by sakchham on 20/11/13.
*/
/*
* Custom version of link{@android.webkit.WebView}
* to get scroll positions for implimenting the Back to top
*/
public class KiwixWebView extends WebView
{
OnPageChangeListener changeListener = null;
public class KiwixWebView extends WebView {
private OnPageChangeListener mChangeListener;
private OnLongClickListener mOnLongClickListener;
public KiwixWebView(Context context) {
super(context);
@ -28,28 +27,44 @@ public class KiwixWebView extends WebView
super(context, attrs, defStyle);
}
@Override
public boolean performLongClick() {
WebView.HitTestResult result = getHitTestResult();
if (result.getType() == HitTestResult.SRC_ANCHOR_TYPE) {
mOnLongClickListener.onLongClick(result.getExtra());
return true;
}
return super.performLongClick();
}
@Override
protected void onScrollChanged(int l, int t, int oldl, int oldt) {
super.onScrollChanged(l, t, oldl, oldt);
int windowHeight = getMeasuredHeight();
int pages = getContentHeight()/windowHeight;
int page = t/windowHeight;
int pages = getContentHeight() / windowHeight;
int page = t / windowHeight;
//alert the listeners
if (changeListener != null);
changeListener.onPageChanged(page,pages);
if (mChangeListener != null) {
mChangeListener.onPageChanged(page, pages);
}
}
public void setOnPageChangedListener(OnPageChangeListener listener) {
mChangeListener = listener;
}
public void setOnLongClickListener(OnLongClickListener listener) {
mOnLongClickListener = listener;
}
public interface OnPageChangeListener {
public void onPageChanged(int page,int maxPages);
public void onPageChanged(int page, int maxPages);
}
/*
* We wouldn't be needing more than one so doesn't matter if it wont work for more
* than one.
*/
public void registerOnPageChangedListener(OnPageChangeListener listener)
{
changeListener = listener;
}
public interface OnLongClickListener {
public void onLongClick(String url);
}
}

View File

@ -7,12 +7,9 @@ import android.content.Intent;
import android.content.Loader;
import android.database.Cursor;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.provider.MediaStore;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.Window;
import android.widget.Adapter;
@ -39,9 +36,11 @@ LoaderManager.LoaderCallbacks<Cursor> {
setProgressBarIndeterminateVisibility(true);
setContentView(R.layout.zimfilelist);
selectZimFile();
}
private void finishResult(String path) {
private void finishResult(String path) {
if (path != null) {
File file = new File(path);
Uri uri = Uri.fromFile(file);