Advertisement
Guest User

Untitled

a guest
Nov 18th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.07 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. android:background="#D13716"
  9. tools:context=".MainActivity">
  10.  
  11. <TextView
  12. android:id="@+id/textView"
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content"
  15. android:layout_marginStart="8dp"
  16. android:layout_marginLeft="8dp"
  17. android:layout_marginTop="8dp"
  18. android:layout_marginEnd="8dp"
  19. android:layout_marginRight="8dp"
  20. android:layout_marginBottom="8dp"
  21. android:text="Start using lunch app"
  22. android:textColor="#f9f9f9"
  23. android:textSize="50px"
  24. />
  25.  
  26. <ImageView
  27. android:id="@+id/imageView"
  28. android:layout_width="match_parent"
  29. android:layout_height="200dp"
  30. android:layout_marginStart="8dp"
  31. android:layout_marginLeft="8dp"
  32. android:layout_marginTop="8dp"
  33. android:layout_marginEnd="8dp"
  34. android:layout_marginRight="8dp"
  35. android:layout_marginBottom="8dp"
  36. app:srcCompat="@drawable/logo" />
  37. <TextView
  38. android:id="@+id/textView2"
  39. android:layout_width="match_parent"
  40. android:layout_height="wrap_content"
  41. android:layout_marginEnd="8dp"
  42. android:layout_marginRight="8dp"
  43. android:layout_marginBottom="8dp"
  44. android:text="Username"
  45. android:textColor="#f9f9f9"
  46. android:textSize="40px"
  47. />
  48. <EditText
  49. android:id="@+id/editText2"
  50. android:layout_width="match_parent"
  51. android:layout_height="wrap_content"
  52. android:layout_marginStart="8dp"
  53. android:layout_marginLeft="8dp"
  54. android:layout_marginTop="8dp"
  55. android:layout_marginEnd="8dp"
  56. android:layout_marginRight="8dp"
  57. android:layout_marginBottom="8dp"
  58. android:backgroundTint="#FFFFFF"
  59. android:inputType="textPassword"
  60. />
  61. <TextView
  62. android:id="@+id/textView3"
  63. android:layout_width="match_parent"
  64. android:layout_height="wrap_content"
  65. android:layout_marginEnd="8dp"
  66. android:layout_marginRight="8dp"
  67. android:layout_marginBottom="8dp"
  68. android:text="Password"
  69. android:textColor="#f9f9f9"
  70. android:textSize="40px"
  71. />
  72. <EditText
  73. android:id="@+id/editText1"
  74. android:layout_width="match_parent"
  75. android:layout_height="wrap_content"
  76. android:layout_marginStart="8dp"
  77. android:layout_marginLeft="8dp"
  78. android:layout_marginTop="8dp"
  79. android:layout_marginEnd="8dp"
  80. android:layout_marginRight="8dp"
  81. android:layout_marginBottom="8dp"
  82. android:backgroundTint="#FFFFFF"
  83. />
  84. <LinearLayout
  85. android:layout_width="match_parent"
  86. android:layout_height="wrap_content"
  87. android:orientation="horizontal">
  88. <Button
  89. android:id="@+id/button2"
  90. android:layout_width="match_parent"
  91. android:layout_height="wrap_content"
  92. android:layout_weight="1"
  93. android:layout_marginStart="8dp"
  94. android:layout_marginLeft="20dp"
  95. android:layout_marginTop="8dp"
  96. android:layout_marginEnd="8dp"
  97. android:layout_marginRight="8dp"
  98. android:layout_marginBottom="8dp"
  99. android:text="Login"
  100. />
  101.  
  102. <Button
  103. android:id="@+id/button3"
  104. android:layout_width="match_parent"
  105. android:layout_height="wrap_content"
  106. android:layout_weight="1"
  107. android:layout_marginStart="8dp"
  108. android:layout_marginLeft="8dp"
  109. android:layout_marginTop="8dp"
  110. android:layout_marginEnd="8dp"
  111. android:layout_marginRight="8dp"
  112. android:layout_marginBottom="8dp"
  113. android:text="Register"
  114. />
  115. </LinearLayout>
  116. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement