我正在使用Android。当用户写一些东西时,我想在editText上添加建议如何在editText中添加intelliSense?
You should use
AutoCompleteTextView
Here is a short tutorial to implement this widget, which is working like a TextView, but with an adapter http://www.androidaspect.com/2012/06/autocompletetextview-example.html
Use AutocompleteTextView Read this tutorial.I'm sure it will solve your problem. http://www.javatpoint.com/android-autocompletetextview-example
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.