@Override
        public void run() {
          // TODO Auto-generated method stub
          if (!mIsAttached) return;

          boolean visiable =
              mSharePrefManager.getBoolean(
                  ISharedPrefSettingsManager.KEY_WORKSPACE_SHOW_LABEL,
                  ResConfigManager.CONFIG_SHOW_WORKSPACE_LABEL,
                  true);

          mSharePrefManager.setBoolean(
              ISharedPrefSettingsManager.KEY_WORKSPACE_SHOW_LABEL, !visiable);

          View view = mAppearanceContainer.findViewWithTag("label");
          if (view != null) view.setEnabled(true);
        }
  @Override
  public void onClick(View v) {
    // TODO Auto-generated method stub
    String tag = String.valueOf(v.getTag());
    if (tag != null) {
      if (tag.equals("appicons")) {
        mLauncher.showAppIconAndTitleCustomActivity();
        Runnable processIntent =
            new Runnable() {
              public void run() {
                mLauncher.hideCustomSettingsScreen(false);
              }
            };
        super.post(processIntent);
      } else if (tag.equals("cycleslide")) {
        if (mWorkspace != null) {
          boolean enable = !mWorkspace.isSupportCycleSlidingScreen();
          mWorkspace.setSupportCycleSlidingScreen(enable);
          mSharePrefManager.setWorkspaceSupportCycleSliding(enable);
          v.setActivated(enable);
        }

      } else if (tag.equals("hotseat")) {
        boolean enable = mLauncher.isHotseatVisiable();
        if (enable) mLauncher.hideHotseat(false);
        else mLauncher.showHotseat(false);
        mSharePrefManager.setWorkspaceShowHotseatBar(!enable);
        mWorkspace.updateLayoutCustomSettingsChanged(true, null);
        v.setActivated(!enable);
        refreshPreviewView();

      } else if (tag.equals("indicator")) {
        if (mWorkspace != null) {
          boolean enable = !mWorkspace.isScrollingIndicatorEnabled();
          mWorkspace.setScrollingIndicatorEnabled(enable);
          mSharePrefManager.setWorkspaceEnableScreenIndicatorBar(enable);
          v.setActivated(enable);
          mWorkspace.updateLayoutCustomSettingsChanged(true, null);
          refreshPreviewView();
        }
      } else if (tag.equals("label")) {

        boolean visiable =
            mSharePrefManager.getBoolean(
                ISharedPrefSettingsManager.KEY_WORKSPACE_SHOW_LABEL,
                ResConfigManager.CONFIG_SHOW_WORKSPACE_LABEL,
                true);

        mLauncher.setShortcutLableVisiable(!visiable, mUpdateLabelComplete);
        v.setActivated(!visiable);
        v.setEnabled(false);

        //			    mSharePrefManager.setBoolean(ISharedPrefSettingsManager.KEY_WORKSPACE_SHOW_LABEL,
        // !visiable);
        //
        //				refreshPreviewView();
      } else if (tag.equals("grid")) {

        //			    mLauncher.changeWorkspaceGridSize(mUpdateGridComplete);
        // v.setEnabled(false);
        mWorkspaceGridContainer.setVisibility(View.VISIBLE);
        mAppearanceContainer.setVisibility(View.GONE);

      } else if (tag.equals("statusbar")) {
        final boolean isfull =
            mSharePrefManager.getBoolean(ISharedPrefSettingsManager.KEY_IS_FULLSCREEN, false);
        // android.util.Log.i("QsLog", "onClick======isfull:"+isfull);
        mLauncher.setFullscreen(!isfull);
        // android.util.Log.i("QsLog", "onClick===2===isfull:"+isfull);
        v.setActivated(isfull);
        mSharePrefManager.setBoolean(ISharedPrefSettingsManager.KEY_IS_FULLSCREEN, !isfull);
      } else if (tag.equals("lock")) {
        if (mWorkspace != null) {
          boolean enable = !mWorkspace.isEnableStaticWallpaper();
          mWorkspace.setEnableStaticWallpaper(enable);
          mSharePrefManager.setEnableStaticWallpaper(enable);
          v.setActivated(enable);
          mWorkspace.syncWallpaperOffsetWithScroll();
        }
      }
    }
  }