1.EditText默认就会自动获取焦点, 如何让EditText不自动获取焦点?
解决之道:在EditText的父级控件中找一个,设置成
android:focusable="true" android:focusableInTouchMode="true"
InputMethodManager imm = (InputMethodManager) getSystemService(INPUT_METHOD_SERVICE); imm.toggleSoftInput(0, InputMethodManager.RESULT_SHOWN); imm.toggleSoftInput(0, InputMethodManager.HIDE_NOT_ALWAYS);
【HDU2222】Keywords Search
KMP算法
【BZOJ3262】 陌上花开
【POJ2104】kth num
【BZOJ1251】序列终结者
【BZOJ3524】 [Poi2014]Couriers
【BZOJ2049】 [Sdoi2008]Cave 洞穴勘测
【BZOJ1468】Tree
【BZOJ2152】聪聪可可