blob: 3e3f47686bafa5b07cafeddac743d62d30b4a1bf [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context=".examples.ComposeActivity"
tools:showIn="@layout/activity_compose">
<android.support.design.widget.TextInputLayout
android:id="@+id/composeToLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<EditText
android:id="@+id/composeTo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textEmailAddress"
android:hint="To" />
</android.support.design.widget.TextInputLayout>
<android.support.design.widget.TextInputLayout
android:id="@+id/composeFromLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/composeToLayout">
<EditText
android:id="@+id/composeFrom"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textEmailAddress"
android:hint="From" />
</android.support.design.widget.TextInputLayout>
<android.support.design.widget.TextInputLayout
android:id="@+id/composeSubjectLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/composeFromLayout">
<EditText
android:id="@+id/composeSubject"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textEmailSubject"
android:hint="Subject" />
</android.support.design.widget.TextInputLayout>
<android.support.design.widget.TextInputLayout
android:id="@+id/composeMessageLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/composeSubjectLayout">
<EditText
android:id="@+id/composeMessage"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textMultiLine"
android:hint="Message" />
</android.support.design.widget.TextInputLayout>
</RelativeLayout>