Repositorio del curso CCOM4030 el semestre B91 del proyecto Trolley

activity_main.xml 2.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. <Button
  9. android:id="@+id/button_paradas"
  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_marginBottom="16dp"
  15. android:contentDescription="@string/abrir_listado_de_paradas_en_una_nueva_pagina"
  16. android:text="@string/paradas"
  17. app:layout_constraintBottom_toBottomOf="parent"
  18. app:layout_constraintStart_toStartOf="parent" />
  19. <ImageView
  20. android:id="@+id/imageView"
  21. android:layout_width="412dp"
  22. android:layout_height="473dp"
  23. android:contentDescription="@string/mapa_de_la_universidad_de_puerto_rico"
  24. app:layout_constraintEnd_toEndOf="parent"
  25. app:layout_constraintHorizontal_bias="1.0"
  26. app:layout_constraintStart_toStartOf="parent"
  27. app:layout_constraintTop_toTopOf="parent"
  28. app:srcCompat="@drawable/mapa_uprrp_alpha" />
  29. <Button
  30. android:id="@+id/track"
  31. android:layout_width="wrap_content"
  32. android:layout_height="wrap_content"
  33. android:layout_marginEnd="16dp"
  34. android:layout_marginRight="16dp"
  35. android:layout_marginBottom="16dp"
  36. android:text="@string/track"
  37. app:layout_constraintBottom_toBottomOf="parent"
  38. app:layout_constraintEnd_toEndOf="parent" />
  39. <Button
  40. android:id="@+id/sendit"
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:text="Send"
  44. app:layout_constraintBottom_toBottomOf="parent"
  45. app:layout_constraintEnd_toEndOf="parent"
  46. app:layout_constraintHorizontal_bias="0.498"
  47. app:layout_constraintStart_toStartOf="parent"
  48. app:layout_constraintTop_toBottomOf="@+id/imageView"
  49. app:layout_constraintVertical_bias="0.923" />
  50. </androidx.constraintlayout.widget.ConstraintLayout>