diff --git a/app/build.gradle b/app/build.gradle
index e86b81b..a83103d 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -10,8 +10,8 @@ android {
applicationId "ch.lburgy.heiafrschedule"
minSdkVersion 18
targetSdkVersion 29
- versionCode 3
- versionName "1.0.2"
+ versionCode 4
+ versionName "1.0.3"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
diff --git a/app/src/main/java/ch/lburgy/heiafrschedule/activities/SettingsActivity.java b/app/src/main/java/ch/lburgy/heiafrschedule/activities/SettingsActivity.java
index 38dbdc7..e44b5af 100644
--- a/app/src/main/java/ch/lburgy/heiafrschedule/activities/SettingsActivity.java
+++ b/app/src/main/java/ch/lburgy/heiafrschedule/activities/SettingsActivity.java
@@ -190,6 +190,15 @@ public boolean onPreferenceClick(Preference preference) {
}
});
+ findPreference(getString(R.string.settings_key_developer)).setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {
+ @Override
+ public boolean onPreferenceClick(Preference preference) {
+ Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("mailto:contact@lburgy.ch"));
+ startActivity(browserIntent);
+ return true;
+ }
+ });
+
findPreference(getString(R.string.settings_key_license_httpcomponents)).setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {
@Override
public boolean onPreferenceClick(Preference preference) {
diff --git a/app/src/main/res/drawable-night/ic_calendar.xml b/app/src/main/res/drawable-night/ic_calendar.xml
new file mode 100644
index 0000000..278c5a9
--- /dev/null
+++ b/app/src/main/res/drawable-night/ic_calendar.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/app/src/main/res/drawable-night/ic_info.xml b/app/src/main/res/drawable-night/ic_info.xml
new file mode 100644
index 0000000..8cb1917
--- /dev/null
+++ b/app/src/main/res/drawable-night/ic_info.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/app/src/main/res/drawable/ic_calendar.xml b/app/src/main/res/drawable/ic_calendar.xml
new file mode 100644
index 0000000..7c7e6bf
--- /dev/null
+++ b/app/src/main/res/drawable/ic_calendar.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/app/src/main/res/drawable/ic_info.xml b/app/src/main/res/drawable/ic_info.xml
new file mode 100644
index 0000000..c838b18
--- /dev/null
+++ b/app/src/main/res/drawable/ic_info.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml
index e8ff75f..dbcce47 100644
--- a/app/src/main/res/values-de/strings.xml
+++ b/app/src/main/res/values-de/strings.xml
@@ -48,4 +48,6 @@
Siehe das Projekt auf GitHub
Zeitplan vom %1$s bis %2$s
Neue Zeitpläne sind verfügbar !
+ Lizenziert unter der GNU GPL v3.0-Lizenz
+ Entwickelt von Lucas Bürgy
\ No newline at end of file
diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml
index 86f89cb..76caef2 100644
--- a/app/src/main/res/values-fr/strings.xml
+++ b/app/src/main/res/values-fr/strings.xml
@@ -48,4 +48,6 @@
par The Apache Software Foundation, sous license Apache 2.0
Horaires du %1$s au %2$s
De nouveaux horaires sont disponibles !
+ Développée par Lucas Bürgy
+ Sous license GNU GPL v3.0
\ No newline at end of file
diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml
index b0d7d4f..5cefe06 100644
--- a/app/src/main/res/values-it/strings.xml
+++ b/app/src/main/res/values-it/strings.xml
@@ -48,4 +48,6 @@
Vedi il progetto su GitHub
Orari dal %1$s al %2$s
Sono disponibili nuovi orari !
+ Con licenza GNU GPL v3.0
+ Sviluppato da Lucas Bürgy
\ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 8a08795..292583b 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -55,6 +55,7 @@
delete_data
data_schedule_date
github
+ developer
license_httpcomponents
license_jsoup
license_moshi
@@ -78,6 +79,8 @@
See the project on GitHub
+ Developed by Lucas Bürgy
+ Licensed under the GNU GPL v3.0 license
Apache HttpComponents
diff --git a/app/src/main/res/xml/root_preferences.xml b/app/src/main/res/xml/root_preferences.xml
index 04b54d2..8bede2c 100644
--- a/app/src/main/res/xml/root_preferences.xml
+++ b/app/src/main/res/xml/root_preferences.xml
@@ -47,12 +47,11 @@
@@ -67,6 +66,12 @@
app:key="@string/settings_key_see_github"
app:title="@string/see_github_title" />
+
+