diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index fec628f..87a4b0c 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -22,6 +22,7 @@
+
() {
@Override
public void onResponse(Bitmap bitmap) {
+ PositioningActivity.this.mapId = mapId;
mapView.setImageBitmap(bitmap);
mapView.setVisibility(View.VISIBLE);
Snackbar.make(mapView, "You need to set a point before measurement.", Snackbar.LENGTH_LONG)
diff --git a/app/src/main/res/layout/content_calibration.xml b/app/src/main/res/layout/content_calibration.xml
index d909639..97bfcdc 100644
--- a/app/src/main/res/layout/content_calibration.xml
+++ b/app/src/main/res/layout/content_calibration.xml
@@ -18,7 +18,7 @@
android:layout_marginStart="8dp"
android:layout_marginTop="50dp"
android:adjustViewBounds="true"
- android:paddingLeft="0dp"
+ android:paddingStart="0dp"
android:paddingTop="0dp"
android:scaleType="fitXY"
app:layout_constraintHorizontal_bias="0.0"
@@ -52,7 +52,7 @@
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginStart="8dp"
- android:text="Set Point"
+ android:text="@string/set_point"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
@@ -67,7 +67,7 @@
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginStart="8dp"
- android:text="Cancel"
+ android:text="@string/Cancel"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintHorizontal_bias="0.0"
@@ -83,7 +83,7 @@
android:layout_marginRight="8dp"
android:layout_marginStart="8dp"
android:onClick="sendCalibrateRequest"
- android:text="Measure"
+ android:text="@string/Measure"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintHorizontal_bias="0.0"
diff --git a/app/src/main/res/layout/content_positioning.xml b/app/src/main/res/layout/content_positioning.xml
index b225657..ea4cd7d 100644
--- a/app/src/main/res/layout/content_positioning.xml
+++ b/app/src/main/res/layout/content_positioning.xml
@@ -73,9 +73,10 @@
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginTop="8dp"
- android:text="Start locating"
- android:textAppearance="@android:style/TextAppearance.Material.Display2"
+ android:text="@string/start_locating"
+ android:textAppearance="@style/TextAppearance.AppCompat.Large"
android:textColor="@color/colorAccent"
+ android:textSize="40sp"
app:layout_constraintBottom_toBottomOf="@+id/hiding_image"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 3ab3e9c..4d44345 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -2,5 +2,5 @@
#3F51B5
#303F9F
- #FF4081
+ #ff4081
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index f52757f..1600382 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -1,5 +1,5 @@
- PositionningApp
+ PositioningApp
Settings
Settings
@@ -91,4 +91,10 @@
Port
8080
+
+
+ Set point
+ Cancel
+ Measure
+ Start locating
--
libgit2 0.21.4