Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

EditText hint does not float above text

I updated the Android Support libraries from v24.2.1 to v25.1.0 and noticed that in one of my activities the hint does not float above the text anymore.
The hint is set in the layout, text is set by code at the end of OnCreate().
It floats away when the user deletes all text in the box, clicks somewhere else and starts typing again.

Fortunately I don't need to make an update of the support libraries, but it is an interesting problem after all.

< android:layout_width="match_parent" android:layout_height="wrap_content"> < android:inputType="number" android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/prefTimeoutEditText" android:text="100" android:hint="@string/addTimeout" /> </>



Sign In or Register to comment.