摘要: 首先获取searchView控件,比如在actionbar上获取: SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView();if(searchView == null) { return;} int id = searchView.getContext().getResou... 阅读全文
posted @ 2014-09-10 11:32 fighter 阅读(7303) 评论(0) 推荐(0) 编辑