首先,我们要实现文本框的自动补全需要用到AutoCompleteTextView标签与适配器,以下为代码示例: 1.java内代码: 2.values==》strings.xml中代码: 3.res==》layout内代码: 相关文章: