Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 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:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:layout_margin="10dp"
  7. android:orientation="vertical"
  8. tools:context=".MainActivity">
  9.  
  10. <TextView
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:layout_marginTop="30dp"
  14. android:text="Login"
  15. android:textAlignment="center"
  16. android:textAppearance="?android:attr/textAppearanceLarge" />
  17.  
  18. <EditText
  19. android:id="@+id/tv_email"
  20. android:layout_width="match_parent"
  21. android:layout_height="wrap_content"
  22. android:hint="Email"
  23. android:inputType="textEmailAddress" />
  24.  
  25. <EditText
  26. android:id="@+id/tv_pass"
  27. android:layout_width="match_parent"
  28. android:layout_height="wrap_content"
  29. android:hint="Password"
  30. android:inputType="textPassword" />
  31.  
  32. <Button
  33. android:id="@+id/btn_masuk"
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:layout_gravity="center"
  37. android:layout_marginTop="15dp"
  38. android:background="@color/colorPrimaryDark"
  39. android:paddingHorizontal="80dp"
  40. android:text="Masuk"
  41. android:textColor="@android:color/white" />
  42.  
  43. <TextView
  44. android:layout_width="match_parent"
  45. android:layout_height="wrap_content"
  46. android:layout_marginTop="10dp"
  47. android:text="Belum punya akun?"
  48. android:textAlignment="center" />
  49.  
  50. <TextView
  51. android:id="@+id/tv_daftar"
  52. android:layout_width="match_parent"
  53. android:layout_height="wrap_content"
  54. android:layout_marginTop="5dp"
  55. android:text="Daftar"
  56. android:textAlignment="center"
  57. android:textColor="@color/colorPrimaryDark" />
  58.  
  59. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement