Set Width EditText.setError () Android Popup

What is the width of the popup window of EditText.setError () based?

My xml:

<EditText android:id="@+id/link_existing_project_data" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="50dp" android:hint="@string/link_existing_project_hint" android:inputType="textCapCharacters" android:paddingLeft="30dp" android:paddingRight="30dp" android:textSize="20dp" /> 

and what i get:

setError () width

How can I get it to fill the full width, so the display is on one line?

Doesn't that depend on the width of the EditText?

thanks

+4
source share

Source: https://habr.com/ru/post/1445098/


All Articles