diff --git a/app/src/main/java/com/jens/automation2/ActivityMaintenance.java b/app/src/main/java/com/jens/automation2/ActivityMaintenance.java
index e5056c77..499e713f 100644
--- a/app/src/main/java/com/jens/automation2/ActivityMaintenance.java
+++ b/app/src/main/java/com/jens/automation2/ActivityMaintenance.java
@@ -29,7 +29,7 @@ public class ActivityMaintenance extends Activity
final static String prefsFileName = "com.jens.automation2_preferences.xml";
- TextView tvFileStoreLocation;
+ TextView tvFileStoreLocation, tvAppVersion;
Button bVolumeTest, bMoreSettings, bSettingsSetToDefault, bShareConfigAndLog, bImportConfiguration, bExportConfiguration;
@Override
@@ -103,6 +103,13 @@ public class ActivityMaintenance extends Activity
});
tvFileStoreLocation = (TextView)findViewById(R.id.tvFileStoreLocation);
+ tvAppVersion = (TextView)findViewById(R.id.tvAppVersion);
+
+ tvAppVersion.setText(
+ "Version: " + BuildConfig.VERSION_NAME + Miscellaneous.lineSeparator +
+ "Version code: " + String.valueOf(BuildConfig.VERSION_CODE) + Miscellaneous.lineSeparator +
+ "Flavor: " + BuildConfig.FLAVOR
+ );
}
@Override
diff --git a/app/src/main/java/com/jens/automation2/ActivityManagePoi.java b/app/src/main/java/com/jens/automation2/ActivityManagePoi.java
index 2e7c38f1..925593cf 100644
--- a/app/src/main/java/com/jens/automation2/ActivityManagePoi.java
+++ b/app/src/main/java/com/jens/automation2/ActivityManagePoi.java
@@ -193,8 +193,8 @@ public class ActivityManagePoi extends Activity
Miscellaneous.logEvent("i", "POI Manager", "Starting timeout for location search: " + String.valueOf(searchTimeout) + " seconds", 5);
- TimerTask updateBall = new TimeoutTask();
- timer.scheduleAtFixedRate(updateBall, 0, searchTimeout * 1000);
+ TimerTask timeoutTask = new TimeoutTask();
+ timer.schedule(timeoutTask, searchTimeout * 1000);
}
private void stopTimeout()
diff --git a/app/src/main/res/layout/activity_maintenance.xml b/app/src/main/res/layout/activity_maintenance.xml
index c2a267d7..a2bed376 100644
--- a/app/src/main/res/layout/activity_maintenance.xml
+++ b/app/src/main/res/layout/activity_maintenance.xml
@@ -97,6 +97,15 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/activity_manage_trigger_notification.xml b/app/src/main/res/layout/activity_manage_trigger_notification.xml
index 76c29789..9167bd68 100644
--- a/app/src/main/res/layout/activity_manage_trigger_notification.xml
+++ b/app/src/main/res/layout/activity_manage_trigger_notification.xml
@@ -2,10 +2,9 @@
+ android:layout_margin="@dimen/default_margin" >
@@ -25,7 +24,9 @@
+ android:layout_height="wrap_content"
+ android:shrinkColumns="1"
+ android:stretchColumns="1">
diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml
index 546e6705..21af20e5 100644
--- a/app/src/main/res/values-de/strings.xml
+++ b/app/src/main/res/values-de/strings.xml
@@ -212,7 +212,7 @@
Es gibt bereits einen Ort mit diesem Namen.
Es gibt bereits eine Regel mit diesem Namen.
Programm starten
- Wählen Sie\neine Anwendung
+ Anwendung wählen
Wählen Sie ein Paket der Anwendung
Wählen Sie die Activity des Pakets
Fehler beim Starten einer anderen Anwendung
diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml
index e7dce5b4..d049f2f1 100644
--- a/app/src/main/res/values-es/strings.xml
+++ b/app/src/main/res/values-es/strings.xml
@@ -141,7 +141,7 @@
exedendo
estendo menos que
algún wifi
- Elija la app
+ Elija app
Elija el paquete de la app
Elija la actividad de la app
Error encendiendo otra app