S
S
sam_u2018-07-23 14:57:03
Android
sam_u, 2018-07-23 14:57:03

How to use the new TextField features in material design 2?

Good day!
Maybe someone has already worked with the new Material design library? In particular, I can't figure out how to use the new features for input fields. https://material.io/design/components/text-fields.... here it is beautifully shown that you can embed icons inside edit text'a (left or right), but they don't write how to do this... I re-picked So many things already, but I did not find the answer.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
davidnum95, 2018-07-23
@davidnum95

android:drawableLeft="@drawable/icon_user"
 android:drawableStart="@drawable/icon_user"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question