code: protected void stopLayerTranslation() {
          if (mLayerTypeHardware) {
              mLayerTypeHardware = false;
              mContentContainer.setLayerType(View.LAYER_TYPE_NONE, null);
              mMenuContainer.setLayerType(View.LAYER_TYPE_NONE, null);
          }
      }
docs: If the current layer type is {@link android.view.View#LAYER_TYPE_HARDWARE}, this will set it to
  {@link View#LAYER_TYPE_NONE}.