Repo for Programming MB code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
3.3 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. tools:context=".MainActivity">
  8. <TextView
  9. android:id="@+id/textView3"
  10. android:layout_width="wrap_content"
  11. android:layout_height="wrap_content"
  12. android:layout_marginStart="16dp"
  13. android:layout_marginLeft="16dp"
  14. android:layout_marginTop="8dp"
  15. android:layout_marginEnd="16dp"
  16. android:layout_marginRight="16dp"
  17. android:contentDescription="@string/button_send"
  18. android:text="@string/text_below"
  19. app:layout_constraintBottom_toTopOf="@+id/button"
  20. app:layout_constraintEnd_toEndOf="parent"
  21. app:layout_constraintHorizontal_bias="0.497"
  22. app:layout_constraintStart_toStartOf="parent"
  23. app:layout_constraintTop_toBottomOf="@+id/imageButton" />
  24. <TextView
  25. android:id="@+id/textView"
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:layout_marginStart="16dp"
  29. android:layout_marginLeft="16dp"
  30. android:layout_marginTop="16dp"
  31. android:layout_marginEnd="16dp"
  32. android:layout_marginRight="16dp"
  33. android:text="@string/text_above"
  34. app:layout_constraintBottom_toTopOf="@+id/imageButton"
  35. app:layout_constraintEnd_toEndOf="parent"
  36. app:layout_constraintStart_toStartOf="parent"
  37. app:layout_constraintTop_toTopOf="parent" />
  38. <ImageButton
  39. android:id="@+id/imageButton"
  40. android:layout_width="173dp"
  41. android:layout_height="153dp"
  42. android:layout_marginStart="16dp"
  43. android:layout_marginLeft="16dp"
  44. android:layout_marginEnd="16dp"
  45. android:layout_marginRight="16dp"
  46. android:background="@null"
  47. android:contentDescription="@string/button_send"
  48. android:onClick="openGarage"
  49. android:scaleType="fitStart"
  50. app:layout_constraintBottom_toTopOf="@+id/textView3"
  51. app:layout_constraintEnd_toEndOf="parent"
  52. app:layout_constraintStart_toStartOf="parent"
  53. app:layout_constraintTop_toBottomOf="@+id/textView"
  54. app:layout_constraintVertical_bias="0.183"
  55. app:srcCompat="@drawable/garageiconcircle" />
  56. <Button
  57. android:id="@+id/button"
  58. android:layout_width="wrap_content"
  59. android:layout_height="wrap_content"
  60. android:layout_marginStart="16dp"
  61. android:layout_marginLeft="16dp"
  62. android:layout_marginEnd="16dp"
  63. android:layout_marginRight="16dp"
  64. android:layout_marginBottom="16dp"
  65. android:onClick="viewStatus"
  66. android:text="@string/button_send2"
  67. app:layout_constraintBottom_toBottomOf="parent"
  68. app:layout_constraintEnd_toEndOf="parent"
  69. app:layout_constraintHorizontal_bias="0.498"
  70. app:layout_constraintStart_toStartOf="parent"
  71. app:layout_constraintTop_toBottomOf="@+id/textView3"
  72. app:layout_constraintVertical_bias="0.136" />
  73. </androidx.constraintlayout.widget.ConstraintLayout>