@Override
  public void onResume() {
    super.onResume();

    if (Build.VERSION.SDK_INT == Build.VERSION_CODES.KITKAT)
      getActivity()
          .getActionBar()
          .setBackgroundDrawable(UIElementsHelper.getGeneralActionBarBackground(mContext));
  }
  /** Applies KitKat specific translucency. */
  private void applyKitKatTranslucency() {
    if (Build.VERSION.SDK_INT == Build.VERSION_CODES.KITKAT) {

      // Calculate ActionBar and navigation bar height.
      TypedValue tv = new TypedValue();
      int actionBarHeight = 0;
      if (getActivity().getTheme().resolveAttribute(android.R.attr.actionBarSize, tv, true)) {
        actionBarHeight =
            TypedValue.complexToDimensionPixelSize(tv.data, getResources().getDisplayMetrics());
      }

      mListView.setBackgroundColor(0xFFEEEEEE);
      mRootView.setPadding(0, actionBarHeight + mApp.getStatusBarHeight(mContext), 0, 0);
      mListView.setPadding(10, 0, 10, mApp.getNavigationBarHeight(mContext));
      mListView.setClipToPadding(false);

      // Set the window color.
      getActivity()
          .getWindow()
          .setBackgroundDrawable(UIElementsHelper.getGeneralActionBarBackground(mContext));
    }
  }