Urja

Untitled

Jun 29th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 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. xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent"
  5. android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
  6. android:paddingRight="@dimen/activity_horizontal_margin"
  7. android:paddingTop="@dimen/activity_vertical_margin"
  8. android:paddingBottom="@dimen/activity_vertical_margin"
  9. app:layout_behavior="@string/appbar_scrolling_view_behavior"
  10. tools:showIn="@layout/activity_main" tools:context=".MainActivity">
  11.  
  12. <TextView
  13. android:layout_width="wrap_content"
  14. android:layout_height="wrap_content"
  15. android:textAppearance="?android:attr/textAppearanceLarge"
  16. android:text="Welcome, Enter your email"
  17. android:id="@+id/textView"
  18. android:layout_marginTop="86dp"
  19. android:layout_alignParentTop="true"
  20. android:layout_centerHorizontal="true" />
  21.  
  22. <EditText
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:inputType="textEmailAddress"
  26. android:ems="10"
  27. android:id="@+id/editText"
  28. android:layout_below="@+id/textView"
  29. android:layout_centerHorizontal="true"
  30. android:layout_marginTop="79dp"
  31. />
  32.  
  33.  
  34. <Button
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:text="Go"
  38. android:id="@+id/button"
  39. android:onClick="makeJsonArrayRequest"
  40. android:layout_below="@+id/editText"
  41. android:layout_centerHorizontal="true"
  42. android:layout_marginTop="47dp"
  43. android:focusable="false"/>
  44.  
  45. </RelativeLayout>
Add Comment
Please, Sign In to add comment