Advertisement
Guest User

Untitled

a guest
Oct 16th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.33 KB | None | 0 0
  1. /// dialog_upload_pic.xml
  2.  
  3. <?xml version="1.0" encoding="utf-8"?>
  4. <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  5. xmlns:app="http://schemas.android.com/apk/res-auto"
  6. xmlns:tools="http://schemas.android.com/tools"
  7. android:layout_width="wrap_content"
  8. android:layout_height="wrap_content">
  9.  
  10. <Button
  11. android:id="@+id/btnPickFromGallery"
  12. android:layout_width="wrap_content"
  13. android:layout_height="wrap_content"
  14. android:layout_marginBottom="16dp"
  15. android:layout_marginLeft="16dp"
  16. android:layout_marginStart="16dp"
  17. android:layout_marginTop="16dp"
  18. android:background="@android:color/transparent"
  19. android:text="Pick from gallery"
  20. app:layout_constraintBottom_toBottomOf="parent"
  21. app:layout_constraintStart_toStartOf="parent"
  22. app:layout_constraintTop_toBottomOf="@+id/textView21" />
  23.  
  24. <Button
  25. android:id="@+id/btnTakePic"
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:layout_marginBottom="16dp"
  29. android:layout_marginEnd="16dp"
  30. android:layout_marginLeft="24dp"
  31. android:layout_marginRight="16dp"
  32. android:layout_marginStart="24dp"
  33. android:layout_marginTop="16dp"
  34. android:background="@android:color/transparent"
  35. android:text="Take a picture"
  36. app:layout_constraintBottom_toBottomOf="parent"
  37. app:layout_constraintEnd_toEndOf="parent"
  38. app:layout_constraintStart_toEndOf="@+id/btnPickFromGallery"
  39. app:layout_constraintTop_toBottomOf="@+id/textView21" />
  40.  
  41. <TextView
  42. android:id="@+id/textView21"
  43. android:layout_width="wrap_content"
  44. android:layout_height="wrap_content"
  45. android:layout_marginEnd="16dp"
  46. android:layout_marginLeft="16dp"
  47. android:layout_marginRight="16dp"
  48. android:layout_marginStart="16dp"
  49. android:layout_marginTop="16dp"
  50. android:text="Upload profile picture"
  51. android:textAppearance="@style/TextAppearance.AppCompat.Large"
  52. app:layout_constraintEnd_toEndOf="parent"
  53. app:layout_constraintStart_toStartOf="parent"
  54. app:layout_constraintTop_toTopOf="parent" />
  55.  
  56.  
  57. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement