code: private void modifyButtonsBasedOnScrollableContent(boolean scrollable) {
          if (getView() == null) {
              return;
          }
          View vButtonDivider = getView().findViewById(R.id.sdl_button_divider);
          View vButtonsBottomSpace = getView().findViewById(R.id.sdl_buttons_bottom_space);
          View vDefaultButtons = getView().findViewById(R.id.sdl_buttons_default);
          View vStackedButtons = getView().findViewById(R.id.sdl_buttons_stacked);
          if (vDefaultButtons.getVisibility() == View.GONE && vStackedButtons.getVisibility() == View.GONE) {
              // no buttons
              vButtonDivider.setVisibility(View.GONE);
              vButtonsBottomSpace.setVisibility(View.GONE);
          } else if (scrollable) {
              vButtonDivider.setVisibility(View.VISIBLE);
              vButtonsBottomSpace.setVisibility(View.GONE);
          } else {
              vButtonDivider.setVisibility(View.GONE);
              vButtonsBottomSpace.setVisibility(View.VISIBLE);
          }
      }
docs: Button divider should be shown only if the content is scrollable.