Bläddra i källkod

Removed debug buttons

Martin Herbers 6 år sedan
förälder
incheckning
15196e1d92

+ 0 - 37
app/src/main/res/layout/activity_reading.xml

@@ -37,41 +37,4 @@
         app:layout_constraintTop_toTopOf="parent"
         app:layout_constraintVertical_bias="0.919" />
 
-    <Button
-        android:id="@+id/button2"
-        android:layout_width="wrap_content"
-        android:layout_height="wrap_content"
-        android:layout_marginBottom="8dp"
-        android:layout_marginEnd="8dp"
-        android:layout_marginLeft="8dp"
-        android:layout_marginRight="8dp"
-        android:layout_marginStart="8dp"
-        android:layout_marginTop="8dp"
-        android:onClick="onDetected"
-        android:text="TestDetected"
-        app:layout_constraintBottom_toBottomOf="parent"
-        app:layout_constraintEnd_toEndOf="parent"
-        app:layout_constraintHorizontal_bias="0.0"
-        app:layout_constraintStart_toStartOf="parent"
-        app:layout_constraintTop_toTopOf="parent"
-        app:layout_constraintVertical_bias="1.0" />
-
-    <Button
-        android:id="@+id/button3"
-        android:layout_width="wrap_content"
-        android:layout_height="wrap_content"
-        android:layout_marginBottom="8dp"
-        android:layout_marginEnd="8dp"
-        android:layout_marginLeft="8dp"
-        android:layout_marginRight="8dp"
-        android:layout_marginStart="8dp"
-        android:layout_marginTop="8dp"
-        android:onClick="onNotDetected"
-        android:text="TestNotDetected"
-        app:layout_constraintBottom_toBottomOf="parent"
-        app:layout_constraintEnd_toEndOf="parent"
-        app:layout_constraintHorizontal_bias="1.0"
-        app:layout_constraintStart_toStartOf="parent"
-        app:layout_constraintTop_toTopOf="parent"
-        app:layout_constraintVertical_bias="1.0" />
 </android.support.constraint.ConstraintLayout>

+ 1 - 1
app/src/main/res/raw/object_specs_load.txt

@@ -1,4 +1,4 @@
-Name:Weight
+Name:Load
 Shape:[R;0;0;20;61]
 Contact:[C;0;1;4.0]
 ButtonTrue:A weight of more than the limit was applied!

+ 1 - 1
app/src/main/res/raw/object_specs_pressure.txt

@@ -1,4 +1,4 @@
-Name:Squeeze
+Name:Pressure
 Shape:[C;0;0;26][R;0;16.0;8.0;8.0]
 Contact:[R;0;16.0;4.0;4.0]
 ButtonTrue:The object got squeezed!

+ 1 - 1
app/src/main/res/raw/object_specs_temp_falling.txt

@@ -1,4 +1,4 @@
-Name:Freeze
+Name:Falling Temperature
 Shape:[R;0;0;20;43][C;10;-8;6]
 Contact:[C;0;7;4.0]
 ButtonTrue:The object was stored below the limit!

+ 1 - 1
app/src/main/res/raw/object_specs_temp_rising.txt

@@ -1,4 +1,4 @@
-Name:Melt
+Name:Rising Temperature
 Shape:[R;0;0;20;42][R;0;-20;10;2]
 Contact:[C;0;3;4.0]
 ButtonTrue:The object was stored above the limit!