projectdevelopment,productmanagertooktheeffectofiPhonesaidAndroid!iPhoneintheuseof
keyboardinput,inthenoninputboxposition(ie,blankarea)click,
http://www.bjfshfe.com/E_GuestBook.asp,
keyboardwillbecollected.BeforeAndroidhadnotrealizedhere,firstthoughtistoaddtheonclikeventintheoutermostlayerofthelayoutfile,theviewwillgivepreferentialtreatmenttotheevent,sothehidden
keyboardclickonotherplaces,butBaidulaterfoundanotherway:privateInputMethodManagermanager=null;manager=(InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);@OverridepublicBooleanonTouchEvent(MotionEventevent){TODOAuto-generatedmethodstubif(event.getAction)({if(getCurrentFocus)(null!;