Advertisement
Guest User

Untitled

a guest
Feb 25th, 2020
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  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.  
  9. <Button
  10. android:id="@+id/button"
  11. android:layout_width="106dp"
  12. android:layout_height="35dp"
  13. android:layout_marginTop="71dp"
  14. android:layout_marginEnd="30dp"
  15. android:layout_marginBottom="34dp"
  16. android:text="Button"
  17. app:layout_constraintBottom_toTopOf="@+id/recyclerView"
  18. app:layout_constraintEnd_toEndOf="parent"
  19. app:layout_constraintStart_toEndOf="@+id/editText"
  20. app:layout_constraintTop_toTopOf="parent" />
  21.  
  22. <EditText
  23. android:id="@+id/editText"
  24. android:layout_width="0dp"
  25. android:layout_height="44dp"
  26. android:layout_marginStart="32dp"
  27. android:layout_marginEnd="26dp"
  28. android:ems="10"
  29. android:hint="edit"
  30. android:inputType="textPersonName"
  31. app:layout_constraintBaseline_toBaselineOf="@+id/button"
  32. app:layout_constraintEnd_toStartOf="@+id/button"
  33. app:layout_constraintStart_toStartOf="parent" />
  34.  
  35. <androidx.recyclerview.widget.RecyclerView
  36. android:id="@+id/recyclerView"
  37. android:layout_width="0dp"
  38. android:layout_height="0dp"
  39. android:layout_marginStart="51dp"
  40. android:layout_marginEnd="51dp"
  41. android:layout_marginBottom="28dp"
  42. app:layout_constraintBottom_toBottomOf="parent"
  43. app:layout_constraintEnd_toEndOf="parent"
  44. app:layout_constraintStart_toStartOf="parent"
  45. app:layout_constraintTop_toBottomOf="@+id/button" />
  46.  
  47. </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement