+
+ <Button
+ android:id="@+id/button_photo"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="16dp"
+ android:layout_marginLeft="16dp"
+ android:layout_marginTop="16dp"
+ android:onClick="takePhoto"
+ android:text="@string/button_photo"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/messageText" />
+
+ <ImageView
+ android:id="@+id/imageViewPhoto"
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ android:layout_marginStart="16dp"
+ android:layout_marginLeft="16dp"
+ android:layout_marginTop="16dp"
+ android:layout_marginEnd="16dp"
+ android:layout_marginRight="16dp"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/button_photo"
+ app:srcCompat="@android:drawable/btn_dialog" />
+
+ <TextView
+ android:id="@+id/textViewPhotoResult"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="16dp"
+ android:layout_marginLeft="16dp"
+ android:layout_marginTop="16dp"
+ android:text="@string/text_nocamresult"
+ app:layout_constraintStart_toEndOf="@+id/button_photo"
+ app:layout_constraintTop_toBottomOf="@+id/messageText" />