Buggy code:
mTipBar . bringToFront ( ) ; mFam = ( ( FloatingActionMenu ) ( view . findViewById ( multiple_actions ) ) ) ; mFam . setVisibility ( INVISIBLE ) ; FloatingActionButton fabRefresh = ( ( FloatingActionButton ) ( view . findViewById ( action_fab_refresh ) ) ) ; fabRefresh . setOnClickListener ( new View . OnClickListener ( ) { @ Override public void onClick ( View view ) { mFam . close ( true ) ; mFloorOfPage = ThreadDetailFragment . LAST_FLOOR ; refresh ( ) ; } } ) ; FloatingActionButton fabQuickReply = ( ( FloatingActionButton ) ( view . findViewById ( action_fab_quick_reply ) ) ) ; fabQuickReply . setOnClickListener ( new View . OnClickListener ( ) { @ Override public void onClick ( View view ) { mFam . close ( false ) ; mFam . setVisibility ( INVISIBLE ) ; quickReply . setVisibility ( VISIBLE ) ; quickReply . bringToFront ( ) ; new Handler ( ) . postDelayed ( new Runnable ( ) { public void run ( ) { mReplyTextTv . requestFocus ( ) ; mReplyTextTv . dispatchTouchEvent ( MotionEvent . obtain ( SystemClock . uptimeMillis ( ) , SystemClock . uptimeMillis ( ) , ACTION_DOWN , 0 , 0 , 0 ) ) ; mReplyTextTv . dispatchTouchEvent ( MotionEvent . obtain ( SystemClock . uptimeMillis ( ) , SystemClock . uptimeMillis ( ) , ACTION_UP , 0 , 0 , 0 ) ) ; } } , 200 ) ; } } ) ; FloatingActionButton fabGotoPage = ( ( FloatingActionButton ) ( view . findViewById ( action_fab_goto_page ) ) ) ; fabGotoPage . setOnClickListener ( new View . OnClickListener ( ) { @ Override public void onClick ( View view ) { mFam . close ( true ) ; showGotoPageDialog ( ) ; } } ) ; if ( ! ( HiSettingsHelper . getInstance ( ) . getIsLandscape ( ) ) ) { mDetailListView . addHeaderView ( inflater . inflate ( head_thread_detail , null ) ) ; mTitleView = ( ( TextView ) ( view . findViewById ( thread_detail_title ) ) ) ; mTitleView . setTextSize ( HiSettingsHelper . getTitleTextSize ( ) ) ; mTitleView . setText ( mTitle ) ; } mDetailListView . setPullLoadEnable ( false ) ; mDetailListView . setPullRefreshEnable ( false ) ; mDetailListView . setXListViewListener ( new XListView . IXListViewListener ( ) { @ Override public void onRefresh ( ) { if ( ( mCurrentPage ) > 1 ) { ( mCurrentPage ) -- ; } mDetailListView . stopRefresh ( ) ; mFloorOfPage = ThreadDetailFragment . LAST_FLOOR ; showOrLoadPage ( ) ; quickReply . setVisibility ( INVISIBLE ) ; } @ Override public void onLoadMore ( ) { if ( ( mCurrentPage ) < ( mMaxPage ) ) { ( mCurrentPage ) ++ ; } mDetailListView . stopLoadMore ( ) ; showOrLoadPage ( ) ; } } ) ; final GestureDetector . SimpleOnGestureListener listener = new GestureDetector . SimpleOnGestureListener ( ) { @ Override public boolean onDoubleTap ( MotionEvent e ) { if ( mDetailListView . isFastScrollEnabled ( ) ) { mDetailListView . setFastScrollEnabled ( false ) ; mDetailListView . setFastScrollAlwaysVisible ( false ) ; } else { mDetailListView . setFastScrollEnabled ( true ) ; mDetailListView . setFastScrollAlwaysVisible ( true ) ; } return true ; } } ; final GestureDetector detector = new GestureDetector ( mCtx , listener ) ; detector . setOnDoubleTapListener ( listener ) ; mDetailListView . setOnTouchListener ( new View . OnTouchListener ( ) { @ Override public boolean onTouch ( View view , MotionEvent event ) { if ( mFam . isOpened ( ) ) { mFam . close ( false ) ; } return detector . onTouchEvent ( event ) ; } } ) ; <START_BUG> quickReply = view . findViewById ( inc_quick_reply ) ; <END_BUG> mReplyTextTv = ( ( TextView ) ( quickReply . findViewById ( tv_reply_text ) ) ) ; mReplyTextTv . setTextSize ( HiSettingsHelper . getPostTextSize ( ) ) ; mPostReplyIb = ( ( ImageButton ) ( quickReply . findViewById ( ib_reply_post ) ) ) ; mPostReplyIb . setOnClickListener ( new View . OnClickListener ( ) { @ Override public void onClick ( View v ) { String replyText = mReplyTextTv . getText ( ) . toString ( ) ; if ( ( replyText . length ( ) ) < 5 ) { Toast . makeText ( getActivity ( ) , "字数必须大于5" , LENGTH_LONG ) . show ( ) ; } else { mReplyTextTv . setText ( "" ) ; quickReply . setVisibility ( INVISIBLE ) ; PostBean postBean = new PostBean ( ) ; postBean . setContent ( replyText ) ; postBean . setTid ( mTid ) ; new PostAsyncTask ( getActivity ( ) , PostAsyncTask . MODE_QUICK_REPLY , null , ThreadDetailFragment . this ) . execute ( postBean ) ; InputMethodManager imm = ( ( InputMethodManager ) ( getActivity ( ) . getSystemService ( INPUT_METHOD_SERVICE ) ) ) ; imm . hideSoftInputFromWindow ( mReplyTextTv . getWindowToken ( ) , 0 ) ; mFam . setVisibility ( VISIBLE ) ; } } } ) ; return view ; } @ Override public void onActivityCreated ( Bundle savedInstanceState ) { } @ Override public void onCreateOptionsMenu ( Menu menu , MenuInflater inflater ) { } @ Override public boolean onOptionsItemSelected ( MenuItem item ) { } private void refresh ( ) { } @ Override public void onPrePost ( ) { } @ Override public void onPostDone ( int mode , int status , String message , PostBean postBean ) { } public DetailBean getCachedPost ( String postId ) { } private class OnScrollCallback implements AbsListView . OnScrollListener { private int mLastVisibleItem ; private long lastUpdate = System . currentTimeMillis ( ) ; @ Override public void onScroll ( AbsListView view , int firstVisibleItem , int visibleItemCount , int totalItemCount ) { } @ Override public void onScrollStateChanged ( AbsListView view , int scrollState ) { } } @ Override public void onResume ( ) { }

Fix:
quickReply = view . findViewById ( quick_reply ) ;