I'm using a text filter on a ListView and I'd like to get rid of the popup view that shows what the filter text is. Is there any way to remove this view?
Some example code:
ArrayList<String> buildingNames = new ArrayList<String>();
ListView list = (ListView)findViewById(R.id.list);
list.setAdapter(new ArrayAdapter<String>(this, R.layout.menu_item, buildingNames));
list.setTextFilterEnabled(true);
list.setFilterText("test_filter");
When I set the filter text, a really ugly view pops up at the bottom of the ListView that shows what the current filter text is:
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…