Q
Q
qqweer2020-07-26 00:16:04
Java
qqweer, 2020-07-26 00:16:04

How to make hint PlainText'a go up when clicked?

5f1ca0e300b36888682648.png
there is such a thing, I want that when you click the hint email, it goes up, but does not disappear, like a micro animation.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
davidnum95, 2020-07-26
@hawkkiller

Default material edit text
https://material.io/develop/android/components/tex...
Or simpler

<android.support.design.widget.TextInputLayout
    android:id="@+id/text_input_layout"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:hint="Label">

    <EditText
        android:id="@+id/edit_text"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:inputType="text" />

</android.support.design.widget.TextInputLayout>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question