nafiefn_10

activity_main.xml

Apr 10th, 2021
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.76 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout 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. android:orientation="vertical"
  8. tools:context=".MainActivity">
  9.  
  10. <EditText
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:layout_marginTop="5dp"
  14. android:hint="Username" />
  15. <EditText
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:inputType="textPassword"
  19. android:layout_marginTop="5dp"
  20. android:hint="Password" />
  21. <EditText
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content"
  24. android:inputType="textEmailAddress"
  25. android:layout_marginTop="5dp"
  26. android:hint="Email" />
  27. <EditText
  28. android:layout_width="match_parent"
  29. android:layout_height="wrap_content"
  30. android:inputType="number"
  31. android:layout_marginTop="5dp"
  32. android:hint="Phone" />
  33. <EditText
  34. android:layout_width="match_parent"
  35. android:layout_height="wrap_content"
  36. android:layout_marginTop="5dp"
  37. android:hint="Website" />
  38.  
  39. <RadioGroup
  40. android:id="@+id/radioJK"
  41. android:layout_width="match_parent"
  42. android:layout_height="wrap_content"
  43. android:orientation="horizontal">
  44. <TextView
  45. android:layout_width="wrap_content"
  46. android:layout_height="wrap_content"
  47. android:textColor="#000000"
  48. android:textSize="18sp"
  49. android:text="Jenis Kelamin : " />
  50. <RadioButton
  51. android:layout_width="wrap_content"
  52. android:layout_height="wrap_content"
  53. android:text="Laki - Laki" />
  54. <RadioButton
  55. android:layout_width="wrap_content"
  56. android:layout_height="wrap_content"
  57. android:text="Perempuan" />
  58. </RadioGroup>
  59.  
  60. <Button
  61. android:id="@+id/btnRegist"
  62. android:layout_width="match_parent"
  63. android:layout_height="wrap_content"
  64. android:layout_marginTop="10dp"
  65. android:background="#065548"
  66. android:text="REGISTER"
  67. android:textColor="#ffffff"
  68. app:backgroundTint="#01534C" />
  69.  
  70. <Button
  71. android:layout_width="match_parent"
  72. android:layout_height="wrap_content"
  73. android:layout_marginTop="5dp"
  74. android:background="#F2F2F2"
  75. android:text="LOGIN"
  76. android:textColor="#ffffff"
  77. app:backgroundTint="#009688" />
  78. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment