You must provide hint to the TextInputLayout and use TextInputEditText instead of EditText
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="From">
<android.support.v7.widget.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="09:00 AM" />
</android.support.design.widget.TextInputLayout>