IndahAinur0909

ValidateEmail_content_main.xml

Jul 28th, 2016
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout 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:paddingBottom="@dimen/activity_vertical_margin"
  8. android:paddingLeft="@dimen/activity_horizontal_margin"
  9. android:paddingRight="@dimen/activity_horizontal_margin"
  10. android:paddingTop="@dimen/activity_vertical_margin"
  11. app:layout_behavior="@string/appbar_scrolling_view_behavior"
  12. tools:context="com.codecode.validateemail.MainActivity"
  13. tools:showIn="@layout/activity_main">
  14.  
  15. <LinearLayout
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:gravity="center_horizontal"
  19. android:layout_margin="20dp"
  20. android:orientation="vertical">
  21. <TextView
  22. android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. android:text="LOGIN"
  25. android:textColor="@color/colorAccent"
  26. android:textStyle="bold"
  27. android:textSize="30sp" />
  28.  
  29. <EditText
  30. android:id="@+id/edt_email"
  31. android:layout_width="match_parent"
  32. android:layout_height="40dp"
  33. android:layout_margin="20dp"
  34. android:background="@android:color/darker_gray"
  35. android:paddingLeft="20dp"
  36. android:hint="Email"
  37. android:inputType="text"
  38. android:textColor="@android:color/black"
  39. android:textSize="20sp" />
  40.  
  41. <EditText
  42. android:id="@+id/edt_password"
  43. android:layout_width="match_parent"
  44. android:layout_height="40dp"
  45. android:layout_margin="20dp"
  46. android:background="@android:color/darker_gray"
  47. android:paddingLeft="20dp"
  48. android:hint="Password"
  49. android:inputType="textPassword"
  50. android:textColor="@android:color/black"
  51. android:textSize="20sp" />
  52.  
  53. <Button
  54. android:id="@+id/button_password"
  55. android:layout_width="match_parent"
  56. android:layout_height="50dp"
  57. android:layout_margin="20dp"
  58. android:background="@color/colorAccent"
  59. android:hint="Login"
  60. android:textColor="@android:color/white"
  61. android:textSize="20sp" />
  62. </LinearLayout>
  63. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment