Advertisement
Guest User

Untitled

a guest
Jan 18th, 2020
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.09 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=".PostActivity">
  8.  
  9. <EditText
  10. android:id="@+id/editTextAddress"
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:layout_margin="15dp"
  14. android:layout_marginBottom="316dp"
  15. android:hint="Enter catering venue's address"
  16. android:inputType="textPostalAddress"
  17. android:text="address"
  18. app:layout_constraintBottom_toTopOf="@+id/editTextPostalCode"
  19. tools:layout_editor_absoluteX="16dp" />
  20.  
  21. <EditText
  22. android:id="@+id/editTextPostalCode"
  23. android:layout_width="match_parent"
  24. android:layout_height="wrap_content"
  25. android:layout_margin="15dp"
  26. android:layout_marginBottom="19dp"
  27. android:hint="Enter catering venue's postal code"
  28. android:inputType="number"
  29. android:text="postalCode"
  30. app:layout_constraintBottom_toTopOf="@+id/editTextContact"
  31. tools:layout_editor_absoluteX="16dp" />
  32.  
  33. <EditText
  34. android:id="@+id/editTextContact"
  35. android:layout_width="match_parent"
  36. android:layout_height="wrap_content"
  37. android:layout_margin="15dp"
  38. android:hint="Enter contact details"
  39. android:inputType="number"
  40. android:text="contact"
  41. app:layout_constraintBottom_toTopOf="@+id/buttonSubmit"
  42. tools:layout_editor_absoluteX="15dp" />
  43.  
  44. <Button
  45. android:id="@+id/buttonSubmit"
  46. android:layout_width="match_parent"
  47. android:layout_height="wrap_content"
  48. android:layout_margin="15dp"
  49. android:text="Submit
  50. "
  51. app:layout_constraintBottom_toBottomOf="parent"
  52. tools:layout_editor_absoluteX="100dp" />
  53.  
  54. </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement