Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/form_fragment"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <android.support.design.widget.TextInputLayout
- android:id="@+id/text_input_entry"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginTop="8dp"
- android:gravity="center|top"
- android:text="Some text">
- <EditText
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:layout_centerHorizontal="true"
- android:layout_gravity="center"
- android:layout_marginTop="53dp"
- android:inputType="text"
- android:text="Some text" />
- </android.support.design.widget.TextInputLayout>
- <android.support.design.widget.TextInputLayout
- android:id="@+id/relation_type"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginTop="8dp"
- android:gravity="center|top"
- android:text="Relation type">
- <Spinner
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/text_input_entry"
- android:layout_centerHorizontal="true"
- android:layout_marginTop="50dp"
- android:entries="@array/testlist">
- </Spinner>
- <android.support.design.widget.TextInputLayout
- android:id="@+id/new_term"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginTop="8dp"
- android:gravity="center"
- android:text="Some text">
- <EditText
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:hint="New term"
- android:layout_centerHorizontal="true"
- android:layout_gravity="center"
- android:inputType="text"
- android:text="Some text" />
- </android.support.design.widget.TextInputLayout>
- <android.support.design.widget.TextInputLayout
- android:id="@+id/part_of_speech"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginTop="8dp"
- android:gravity="center|top"
- android:text="Some text">
- <EditText
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="Part of speech"
- android:layout_alignParentTop="true"
- android:layout_centerHorizontal="true"
- android:layout_gravity="center"
- android:inputType="text"
- android:text="" />
- </android.support.design.widget.TextInputLayout>
- <android.support.design.widget.TextInputLayout
- android:id="@+id/your_name"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="Your name(shown)"
- android:layout_marginEnd="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginTop="8dp"
- android:gravity="center"
- android:text="">
- <EditText
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:layout_centerHorizontal="true"
- android:layout_gravity="center"
- android:inputType="text"
- android:text="Some text" />
- </android.support.design.widget.TextInputLayout>
- <android.support.design.widget.TextInputLayout
- android:id="@+id/your_email"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginTop="8dp"
- android:gravity="center|top"
- android:text="Some text">
- <EditText
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:layout_centerHorizontal="true"
- android:layout_gravity="center"
- android:layout_marginTop="53dp"
- android:inputType="text"
- android:text="Some text" />
- </android.support.design.widget.TextInputLayout>
- </android.support.design.widget.TextInputLayout>
- <Button
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="#2196f3"
- android:text="Suggest"
- android:layout_marginBottom="51dp"
- android:layout_alignParentBottom="true"
- android:layout_alignRight="@+id/relation_type"
- android:layout_alignEnd="@+id/relation_type"
- android:layout_alignParentLeft="true"
- android:layout_alignParentStart="true" />
- </RelativeLayout>
- android:layout_alignRight="@+id/relation_type"
- android:layout_alignEnd="@+id/relation_type"
Add Comment
Please, Sign In to add comment