diff --git a/build.gradle b/build.gradle
index 469efb727..5e65efa58 100644
--- a/build.gradle
+++ b/build.gradle
@@ -22,14 +22,14 @@ repositories {
}
dependencies {
- compile 'com.android.support:appcompat-v7:25.1.0'
- compile 'com.android.support:support-v13:25.1.0'
- compile 'com.android.support:support-v4:25.1.0'
- compile 'com.android.support:design:25.1.0'
- compile 'com.android.support:cardview-v7:25.1.0'
+ compile 'com.android.support:appcompat-v7:24.1.0'
+ compile 'com.android.support:support-v13:24.1.0'
+ compile 'com.android.support:support-v4:24.1.0'
+ compile 'com.android.support:design:24.1.0'
+ compile 'com.android.support:cardview-v7:21.0.+'
- androidTestCompile 'com.android.support:support-annotations:25.1.0'
+ androidTestCompile 'com.android.support:support-annotations:24.1.0'
androidTestCompile 'com.android.support.test:runner:0.5'
androidTestCompile 'com.android.support.test:rules:0.5'
@@ -56,6 +56,7 @@ dependencies {
// fast adapter
compile('com.mikepenz:fastadapter:2.1.6@aar') {
+ compile('com.mikepenz:fastadapter:1.6.0@aar') {
transitive = true
}
compile 'com.mikepenz:fastadapter-extensions:1.8.0@aar'
diff --git a/gen-custom-android-build.py b/gen-custom-android-build.py
index c4ef0ca17..125eff772 100755
--- a/gen-custom-android-build.py
+++ b/gen-custom-android-build.py
@@ -357,16 +357,14 @@ def step_update_xml_nodes(jsdata, **options):
item.name = '{}.settings.CustomSwitchPreference'.format(jsdata.get('package'))
flushxml(soup, 'PreferenceScreen', preferences_xml, head=False)
- # rename AnimatedProgressBar node in res/layout/toolbar.xml
- toolbar_xml = os.path.join(ANDROID_PATH, 'res', 'layout', 'toolbar.xml')
- soup = BeautifulSoup(open(toolbar_xml, 'r'),
- 'xml', from_encoding='utf-8')
- item = soup.find('org.kiwix.kiwixmobile.views.AnimatedProgressBar')
- item.name = '{}.views.AnimatedProgressBar'.format(jsdata.get('package'))
- flushxml(soup, 'RelativeLayout', toolbar_xml, head=False)
-
+ main_xml = os.path.join(ANDROID_PATH, 'res', 'layout', 'main.xml')
+ soup = soup = BeautifulSoup(open(main_xml, 'r'),
+ 'xml', from_encoding='utf-8')
+ item = soup.find('org.kiwix.kiwixmobile.views.AnimatedProgressBar')
+ item.name = '{}.views.AnimatedProgressBar'.format(jsdata.get('package'))
+ flushxml(soup, 'RelativeLayout', main_xml, head=False)
except:
- logger.error('BeautifulSoup could not open file in res/xml')
+ logger.error('BeautifulSoup could not open file in res/xml')
def step_update_gradle(jsdata, **options):
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 7f49abd5f..d70899303 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -135,7 +135,7 @@
How to use large ZIM files?
If your ZIM file is larger than 4GB, you might not be able to store it on your SD card due to filesystem limitations.
Downloading in-app automaticaly handles larger files, splitting them up for you.
- If however you are downloading on another device, you may need to split the ZIM file up using the fololwing software:
+ If however you are downloading on another device, you may need to split the ZIM file up using the following software:
\u2022 On Microsoft Windows: HJ-Split
\u2022 On Apple Mac OSX: Split and Concat
\u2022 On GNU/Linux and with the console: split --bytes=4000M my_big_file.zim