Guest User

Untitled

a guest
Sep 26th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.65 KB | None | 0 0
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. android:id="@+id/form_fragment"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent">
  5.  
  6. <android.support.design.widget.TextInputLayout
  7. android:id="@+id/text_input_entry"
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"
  10. android:layout_marginEnd="8dp"
  11. android:layout_marginLeft="8dp"
  12. android:layout_marginTop="8dp"
  13. android:gravity="center|top"
  14. android:text="Some text">
  15.  
  16. <EditText
  17. android:layout_width="match_parent"
  18. android:layout_height="wrap_content"
  19. android:layout_alignParentTop="true"
  20. android:layout_centerHorizontal="true"
  21. android:layout_gravity="center"
  22. android:layout_marginTop="53dp"
  23. android:inputType="text"
  24. android:text="Some text" />
  25. </android.support.design.widget.TextInputLayout>
  26.  
  27.  
  28. <android.support.design.widget.TextInputLayout
  29. android:id="@+id/relation_type"
  30. android:layout_width="match_parent"
  31. android:layout_height="wrap_content"
  32. android:layout_marginEnd="8dp"
  33. android:layout_marginLeft="8dp"
  34. android:layout_marginTop="8dp"
  35. android:gravity="center|top"
  36. android:text="Relation type">
  37. <Spinner
  38. android:layout_width="match_parent"
  39. android:layout_height="wrap_content"
  40.  
  41. android:layout_below="@+id/text_input_entry"
  42. android:layout_centerHorizontal="true"
  43. android:layout_marginTop="50dp"
  44. android:entries="@array/testlist">
  45.  
  46. </Spinner>
  47.  
  48.  
  49. <android.support.design.widget.TextInputLayout
  50. android:id="@+id/new_term"
  51. android:layout_width="match_parent"
  52. android:layout_height="wrap_content"
  53. android:layout_marginEnd="8dp"
  54. android:layout_marginLeft="8dp"
  55. android:layout_marginTop="8dp"
  56. android:gravity="center"
  57. android:text="Some text">
  58.  
  59. <EditText
  60. android:layout_width="match_parent"
  61. android:layout_height="wrap_content"
  62. android:layout_alignParentTop="true"
  63. android:hint="New term"
  64. android:layout_centerHorizontal="true"
  65. android:layout_gravity="center"
  66. android:inputType="text"
  67. android:text="Some text" />
  68. </android.support.design.widget.TextInputLayout>
  69.  
  70.  
  71. <android.support.design.widget.TextInputLayout
  72. android:id="@+id/part_of_speech"
  73. android:layout_width="match_parent"
  74. android:layout_height="wrap_content"
  75. android:layout_marginEnd="8dp"
  76. android:layout_marginLeft="8dp"
  77. android:layout_marginTop="8dp"
  78. android:gravity="center|top"
  79. android:text="Some text">
  80.  
  81. <EditText
  82. android:layout_width="match_parent"
  83. android:layout_height="wrap_content"
  84. android:hint="Part of speech"
  85. android:layout_alignParentTop="true"
  86. android:layout_centerHorizontal="true"
  87. android:layout_gravity="center"
  88. android:inputType="text"
  89. android:text="" />
  90. </android.support.design.widget.TextInputLayout>
  91.  
  92.  
  93. <android.support.design.widget.TextInputLayout
  94. android:id="@+id/your_name"
  95. android:layout_width="match_parent"
  96. android:layout_height="wrap_content"
  97. android:hint="Your name(shown)"
  98. android:layout_marginEnd="8dp"
  99. android:layout_marginLeft="8dp"
  100. android:layout_marginTop="8dp"
  101. android:gravity="center"
  102. android:text="">
  103.  
  104. <EditText
  105. android:layout_width="match_parent"
  106. android:layout_height="wrap_content"
  107. android:layout_alignParentTop="true"
  108. android:layout_centerHorizontal="true"
  109. android:layout_gravity="center"
  110. android:inputType="text"
  111. android:text="Some text" />
  112.  
  113. </android.support.design.widget.TextInputLayout>
  114.  
  115. <android.support.design.widget.TextInputLayout
  116. android:id="@+id/your_email"
  117. android:layout_width="match_parent"
  118. android:layout_height="wrap_content"
  119. android:layout_marginEnd="8dp"
  120. android:layout_marginLeft="8dp"
  121. android:layout_marginTop="8dp"
  122. android:gravity="center|top"
  123. android:text="Some text">
  124.  
  125. <EditText
  126. android:layout_width="match_parent"
  127. android:layout_height="wrap_content"
  128. android:layout_alignParentTop="true"
  129. android:layout_centerHorizontal="true"
  130. android:layout_gravity="center"
  131. android:layout_marginTop="53dp"
  132. android:inputType="text"
  133. android:text="Some text" />
  134. </android.support.design.widget.TextInputLayout>
  135.  
  136. </android.support.design.widget.TextInputLayout>
  137.  
  138.  
  139. <Button
  140. android:layout_width="wrap_content"
  141. android:layout_height="wrap_content"
  142. android:background="#2196f3"
  143. android:text="Suggest"
  144. android:layout_marginBottom="51dp"
  145. android:layout_alignParentBottom="true"
  146. android:layout_alignRight="@+id/relation_type"
  147. android:layout_alignEnd="@+id/relation_type"
  148. android:layout_alignParentLeft="true"
  149. android:layout_alignParentStart="true" />
  150.  
  151. </RelativeLayout>
  152.  
  153. android:layout_alignRight="@+id/relation_type"
  154. android:layout_alignEnd="@+id/relation_type"
Add Comment
Please, Sign In to add comment