A
A
AndroidDev20152016-02-07 10:03:00
Android
AndroidDev2015, 2016-02-07 10:03:00

How to make tooltips in edittext like in the picture?

This Google Calendar example moves to the top of the Activity/Fragment when the edittext is entered
and any remaining space is filled with tooltips. How to do something like this? is there an instruction?
7db2a47294704dbf91adc53e6054eefa.pngf6651b3a37e54ca9b288df04687cd84e.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kamadi, 2016-02-07
@AndroidDev2015

This is done through AutoCompleteTextView
https://habrahabr.ru/post/243853/
In order for AutoCompleteTextView to rise up

<android.support.design.widget.TextInputLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    >

    <AutoCompleteTextView
        android:id="@+id/auto_text"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:enabled="false"
        android:hint="Текст"

        android:singleLine="true"/>

</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