Guest User

Untitled

a guest
Oct 11th, 2016
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 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:tools="http://schemas.android.com/tools"
  4. android:id="@+id/activity_main"
  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. tools:context="aakarsh.firebase2.MainActivity">
  12.  
  13. <EditText
  14. android:layout_width="wrap_content"
  15. android:layout_height="wrap_content"
  16. android:inputType="textEmailAddress"
  17. android:ems="10"
  18. android:layout_marginTop="39dp"
  19. android:id="@+id/editText"
  20. android:hint="email"
  21. android:textAlignment="center"
  22. android:layout_alignParentTop="true"
  23. android:layout_centerHorizontal="true" />
  24.  
  25. <EditText
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:inputType="textPassword"
  29. android:ems="10"
  30. android:layout_marginTop="47dp"
  31. android:id="@+id/editText2"
  32. android:hint="pass"
  33. android:textAlignment="center"
  34. android:layout_below="@+id/editText"
  35. android:layout_alignLeft="@+id/editText"
  36. android:layout_alignStart="@+id/editText" />
  37.  
  38. <Button
  39. android:text="Back"
  40. android:layout_width="wrap_content"
  41. android:layout_height="wrap_content"
  42. android:id="@+id/button5"
  43. android:layout_toLeftOf="@+id/button2"
  44. android:layout_toStartOf="@+id/progressBar2"
  45. android:layout_marginRight="11dp"
  46. android:layout_marginEnd="11dp"
  47. android:layout_alignBottom="@+id/button2" />
  48.  
  49. <Button
  50. android:text="Sign up"
  51. android:layout_width="wrap_content"
  52. android:layout_height="wrap_content"
  53. android:layout_marginTop="32dp"
  54. android:id="@+id/button2"
  55. android:layout_below="@+id/editText2"
  56. android:layout_toRightOf="@+id/button5"
  57. android:layout_toEndOf="@+id/progressBar2"
  58. android:layout_marginLeft="14dp"
  59. android:layout_marginStart="14dp" />
  60.  
  61. <ProgressBar
  62. style="?android:attr/progressBarStyle"
  63. android:layout_width="wrap_content"
  64. android:layout_height="wrap_content"
  65. android:layout_marginTop="85dp"
  66. android:id="@+id/progressBar2"
  67. android:layout_below="@+id/button5"
  68. android:layout_centerHorizontal="true" />
  69. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment