// 初始化SlidingMenu
  private void initSlidingMenu() {

    sm = getSlidingMenu();
    sm.setMode(SlidingMenu.LEFT);
    setBehindContentView(R.layout.main_slidingmenuframe);
    sm.setSlidingEnabled(true);
    sm.setTouchModeAbove(SlidingMenu.TOUCHMODE_FULLSCREEN);
    sm.setBehindWidthRes(R.dimen.slidingmenu_width);
    sm.setBehindScrollScale(0);
  }
  @Override
  public void onBackPressed() {
    // TODO Auto-generated method stub
    if (mFileViewFragment == null) finish();

    if (sm.isMenuShowing()) {
      sm.showContent();
    } else if (!mFileViewFragment.onBack()) {
      exit();
    }
  }
  @Override
  public boolean onOptionsItemSelected(MenuItem item) {
    // TODO Auto-generated method stub
    boolean bool = false;
    switch (item.getItemId()) {
      case android.R.id.home:
        sm.toggle();

        return true;

      default:
        bool = super.onOptionsItemSelected(item);

        break;
    }
    return bool;
  }