Advertisement
Guest User

Untitled

a guest
Dec 12th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 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:gravity="center"
  8. android:orientation="vertical"
  9. tools:context=".MainActivity">
  10.  
  11. <EditText
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:hint="NPM"
  15. android:id="@+id/edtnpm"
  16. />
  17. <EditText
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. android:hint="Nama"
  21. android:id="@+id/edtnama"
  22. />
  23. <EditText
  24. android:layout_width="match_parent"
  25. android:layout_height="wrap_content"
  26. android:hint="Password"
  27. android:id="@+id/edtpassword"
  28. />
  29. <EditText
  30. android:layout_width="match_parent"
  31. android:layout_height="wrap_content"
  32. android:hint="Prodi"
  33. android:id="@+id/edtprodi"
  34. />
  35. <Button
  36. android:layout_width="match_parent"
  37. android:layout_height="wrap_content"
  38. android:text="Kirim Data"
  39. android:id="@+id/btnkirim"
  40. />
  41. <TextView
  42. android:layout_width="wrap_content"
  43. android:layout_height="wrap_content"
  44. android:id="@+id/txtdata"/>
  45.  
  46.  
  47. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement