android – AutoCompleteTextView float提示

前端之家收集整理的这篇文章主要介绍了android – AutoCompleteTextView float提示前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我已经尝试了很多,但是无法使用支持TextInputLayout的AutoCompleteTextView float提示.

可能还是需要使用外部库?

解决方法

不,

设计库本身就够了

包括这样

@H_301_12@<android.support.design.widget.TextInputLayout android:id="@+id/til_id" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="125dp" > <AutoCompleteTextView android:id="@+id/auto_text" android:layout_width="match_parent" android:layout_height="wrap_content" android:enabled="false" android:hint="Id" android:singleLine="true"/> </android.support.design.widget.TextInputLayout>

猜你在找的Android相关文章