Advertisement
Guest User

Untitled

a guest
Jul 20th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.37 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. xmlns:tools="http://schemas.android.com/tools"
  6. android:orientation="vertical"
  7. android:layout_width="match_parent"
  8. android:layout_height="match_parent"
  9. tools:context=".MainActivity">
  10.  
  11. <TextView
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:text="Register Account"
  15. android:textSize="20sp"
  16. android:textStyle="bold"
  17. android:layout_marginTop="@dimen/activity_vertical_margin"
  18. android:layout_marginBottom="@dimen/activity_vertical_margin"
  19. android:textAlignment="center"/>
  20.  
  21. <TextView
  22. android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. android:text="Name"
  25. android:textSize="20sp"
  26. android:layout_marginTop="@dimen/activity_vertical_margin"
  27. android:layout_marginLeft="@dimen/activity_horizontal_margin"
  28. />
  29. <EditText
  30. android:id="@+id/edt_name"
  31. android:layout_width="match_parent"
  32. android:layout_height="wrap_content" />
  33.  
  34. <TextView
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:text="Email"
  38. android:textSize="20sp"
  39. android:layout_marginTop="@dimen/activity_vertical_margin"
  40. android:layout_marginLeft="@dimen/activity_horizontal_margin"
  41. />
  42. <EditText
  43. android:id="@+id/edt_email"
  44. android:layout_width="match_parent"
  45. android:layout_height="wrap_content" />
  46.  
  47. <TextView
  48. android:layout_width="wrap_content"
  49. android:layout_height="wrap_content"
  50. android:text="Descripiton"
  51. android:textSize="20sp"
  52. android:layout_marginTop="@dimen/activity_vertical_margin"
  53. android:layout_marginLeft="@dimen/activity_horizontal_margin"
  54. />
  55. <EditText
  56. android:id="@+id/edt_description"
  57. android:layout_width="match_parent"
  58. android:layout_height="wrap_content" />
  59.  
  60. <Button
  61. android:id="@+id/btn_insert"
  62. android:layout_width="match_parent"
  63. android:layout_height="wrap_content"
  64. android:text="Register"
  65. android:textSize="15sp"/>
  66.  
  67. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement