Edittext在header中不可點擊的處理

listview.addHeaderView(mHeaderView.getLayoutView(), null, true);


listview.setDescendantFocusability(ViewGroup.FOCUS_BEFORE_DESCENDANTS);


listview.setItemsCanFocus(true);


---------------------------------------------------------

http://stackoverflow.com/questions/2679948/focusable-edittext-inside-listview

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章