I want to have the same field, like Google Fit:
So I add a TextInputLayout like that, but I can't setup the editext for hide cursor, hide keyboard:
<android.support.design.widget.TextInputLayout
android:layout_width="0dp"
android:layout_weight="0.6"
android:layout_height="wrap_content"
style="@style/TextInputLayoutStyle">
<android.support.design.widget.TextInputEditText
android:id="@+id/date"
style="@style/NewWizardItemPlanTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="none"
android:hint="@string/date" />
</android.support.design.widget.TextInputLayout>
Thank you very much for your support guys!