Please help how to do this design like this!
Asked
Active
Viewed 72 times
0
-
1Try using TextInputLayout and a custom drawable for the border – Bilal Naeem Feb 19 '19 at 12:32
-
1use background image without text- – Darshan Kachhadiya Feb 19 '19 at 12:33
-
1This is [Material Components for Android](https://material.io/develop/android/docs/getting-started/). As a side note you should read [ask] for future uses . – ADM Feb 19 '19 at 12:34
1 Answers
0
According to the documentation, this should be enough:
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Remarks">
<android.support.design.widget.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/form_username"/>
</android.support.design.widget.TextInputLayout>

Tiago Ornelas
- 1,109
- 8
- 21