diff --git a/.idea/misc.xml b/.idea/misc.xml
index eeda680..2ca2ed2 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -1,30 +1,29 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Android API 22 Platform
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index bdeebdf..1570326 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -1,7 +1,10 @@
-
+
+
+
+
@@ -11,14 +14,36 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -27,27 +52,13 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
+
@@ -57,39 +68,36 @@
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -104,6 +112,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -119,28 +142,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -148,7 +149,6 @@
-
@@ -176,54 +176,88 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
localhost
5050
+
+
+
+
+
+
+
+
+
-
1435355526635
+
1435355526635
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -233,4 +267,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Android
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1.8
+
+
+
+
+
+
+
+
+
+
+
+ UW
+
+
+
+
+
+
+
+
+
+
+
+
+ Android API 22 Platform
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/MyDaoGenerator/MyDaoGenerator.iml b/app/MyDaoGenerator/MyDaoGenerator.iml
index 5a323e7..59c4261 100644
--- a/app/MyDaoGenerator/MyDaoGenerator.iml
+++ b/app/MyDaoGenerator/MyDaoGenerator.iml
@@ -1,5 +1,5 @@
-
+
@@ -13,9 +13,9 @@
-
-
-
+
+
+
@@ -27,7 +27,11 @@
-
-
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/app.iml b/app/app.iml
index 51ce259..659b5ba 100644
--- a/app/app.iml
+++ b/app/app.iml
@@ -1,5 +1,5 @@
-
+
diff --git a/app/app/app-app.iml b/app/app/app-app.iml
index 385664f..8827881 100644
--- a/app/app/app-app.iml
+++ b/app/app/app-app.iml
@@ -1,5 +1,5 @@
-
+
@@ -9,7 +9,6 @@
-
@@ -23,29 +22,31 @@
-
+
+
+
+
-
@@ -53,63 +54,62 @@
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
@@ -117,44 +117,38 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/app/build.gradle b/app/app/build.gradle
index e5955e9..c3342d9 100644
--- a/app/app/build.gradle
+++ b/app/app/build.gradle
@@ -2,10 +2,11 @@ buildscript {
repositories {
jcenter()
maven { url 'https://maven.fabric.io/public' }
+ google()
}
dependencies {
- classpath 'com.android.tools.build:gradle:2.1.3'
+ classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'io.fabric.tools:gradle:1.+'
}
}
@@ -15,7 +16,7 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 25
- buildToolsVersion "25.0.1"
+ buildToolsVersion "25.0.2"
defaultConfig {
applicationId 'com.unfoldingword.androidapp'
minSdkVersion 8
@@ -56,21 +57,23 @@ repositories {
}
dependencies {
- compile fileTree(include: ['*.jar'], dir: 'libs')
- compile files('libs/core-1.51.0.0.jar')
- compile project(':MyDaoGenerator')
- compile project(':com.door43.tools.reporting')
- compile 'com.android.support:appcompat-v7:25.0.1'
- compile 'com.android.support:support-v4:25.0.1'
- compile 'com.google.code.gson:gson:2.3.1'
- compile 'com.joanzapata.iconify:android-iconify-fontawesome:2.0.7'
- compile 'com.squareup.picasso:picasso:2.5.2'
- compile 'de.greenrobot:greendao:2.0.0'
- compile 'com.google.guava:guava-io:r03'
- compile 'de.greenrobot:java-common:2.2.0'
- compile 'com.jakewharton:butterknife:7.0.1'
- compile 'com.github.sswierczek:android-comboseekbar:v1.1.0'
- compile 'de.greenrobot:eventbus:2.4.0'
- compile 'com.github.PeeJWeeJ:AndroidSideLoading:PeremissionFix'
- compile 'com.squareup.okhttp3:okhttp:3.2.0'
+ implementation fileTree(include: ['*.jar'], dir: 'libs')
+ implementation files('libs/core-1.51.0.0.jar')
+ implementation project(':MyDaoGenerator')
+ implementation project(':com.door43.tools.reporting')
+ implementation 'com.android.support:appcompat-v7:25.0.1'
+ implementation 'com.android.support:support-v4:25.0.1'
+ implementation 'com.google.code.gson:gson:2.3.1'
+ implementation 'com.joanzapata.iconify:android-iconify-fontawesome:2.0.7'
+ implementation 'com.squareup.picasso:picasso:2.5.2'
+ implementation 'de.greenrobot:greendao:2.0.0'
+ implementation 'com.google.guava:guava-io:r03'
+ implementation 'de.greenrobot:java-common:2.2.0'
+ implementation 'com.jakewharton:butterknife:7.0.1'
+ implementation 'com.github.sswierczek:android-comboseekbar:v1.1.0'
+ implementation 'de.greenrobot:eventbus:2.4.0'
+ implementation 'com.github.PeeJWeeJ:AndroidSideLoading:PeremissionFix'
+ implementation 'com.squareup.okhttp3:okhttp:3.2.0'
+ annotationProcessor 'com.google.dagger:dagger-compiler:2.0'
+ annotationProcessor 'com.jakewharton:butterknife:7.0.1'
}
diff --git a/app/app/src/main/java/fragments/CheckingLevelInfoFragment.java b/app/app/src/main/java/fragments/CheckingLevelInfoFragment.java
index 0db3a0b..e983284 100644
--- a/app/app/src/main/java/fragments/CheckingLevelInfoFragment.java
+++ b/app/app/src/main/java/fragments/CheckingLevelInfoFragment.java
@@ -9,6 +9,8 @@
package fragments;
import android.app.Dialog;
+import android.content.Intent;
+import android.net.Uri;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.DialogFragment;
@@ -72,4 +74,10 @@ public Dialog onCreateDialog(Bundle savedInstanceState) {
@OnClick(R.id.statement_of_faith_button) void showStatementOfFaithDialog() {
((UWBaseActivity) getActivity()).goToNewActivity(StatementOfFaithActivity.class);
}
+
+ @OnClick(R.id.privacy_policy_button)
+ void showPrivacyPolicy() {
+ Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://unfoldingword.org/app/"));
+ getActivity().startActivity(browserIntent);
+ }
}
\ No newline at end of file
diff --git a/app/app/src/main/res/layout/fragment_resource_choosing.xml b/app/app/src/main/res/layout/fragment_resource_choosing.xml
index abb33a4..0f32340 100644
--- a/app/app/src/main/res/layout/fragment_resource_choosing.xml
+++ b/app/app/src/main/res/layout/fragment_resource_choosing.xml
@@ -17,7 +17,7 @@
android:paddingStart="15dp"
android:paddingEnd="15dp"
android:minWidth="300dp"
- android:gravity="start|left|center_vertical|"
+ android:gravity="start|left|center_vertical"
android:height="40dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
diff --git a/app/app/src/main/res/layout/verification_fragment.xml b/app/app/src/main/res/layout/verification_fragment.xml
index 8aebdb3..955e3ca 100644
--- a/app/app/src/main/res/layout/verification_fragment.xml
+++ b/app/app/src/main/res/layout/verification_fragment.xml
@@ -266,6 +266,19 @@
android:textAppearance="?android:attr/textAppearanceMedium"
/>
+
+