Hubert_M

Untitled

Jun 25th, 2019
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. xmlns:app="http://schemas.android.com/apk/res-auto"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. tools:context=".MainActivity">
  9.  
  10. <Button
  11. android:id="@+id/button"
  12. android:layout_width="187dp"
  13. android:layout_height="wrap_content"
  14. android:layout_alignParentBottom="true"
  15. android:layout_marginStart="48dp"
  16. android:layout_marginBottom="437dp"
  17. android:layout_toEndOf="@+id/text"
  18. android:onClick="Ganesh"
  19. android:text="Wykłady"
  20. android:textColor="@color/colorPrimary"
  21. app:layout_constraintTop_toTopOf="parent"
  22. tools:layout_editor_absoluteX="168dp" />
  23.  
  24. <Button
  25. android:id="@+id/button2"
  26. android:layout_width="187dp"
  27. android:layout_height="wrap_content"
  28. android:layout_alignParentBottom="true"
  29. android:layout_marginStart="48dp"
  30. android:layout_marginBottom="325dp"
  31. android:layout_toEndOf="@+id/text"
  32. android:onClick="Ganesh"
  33. android:text="Laboratorium"
  34. android:textColor="@color/colorPrimary"
  35. app:layout_constraintTop_toTopOf="parent"
  36. tools:layout_editor_absoluteX="168dp" />
  37.  
  38. <TextView
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41. android:text="JAVA 2019"
  42. android:id="@+id/text"
  43. tools:layout_editor_absoluteY="8dp"
  44. tools:layout_editor_absoluteX="8dp" />
  45.  
  46. <Button
  47. android:id="@+id/button3"
  48. android:layout_width="187dp"
  49. android:layout_height="wrap_content"
  50. android:layout_above="@+id/button2"
  51. android:layout_alignStart="@+id/button2"
  52. android:layout_marginStart="0dp"
  53. android:layout_marginBottom="-160dp"
  54. android:onClick="Ganesh"
  55. android:text="Quiz"
  56. android:textColor="@color/colorPrimary"
  57. app:layout_constraintTop_toTopOf="parent"
  58. tools:layout_editor_absoluteX="168dp" />
  59.  
  60. </RelativeLayout>
Add Comment
Please, Sign In to add comment