docs: public void setGravity(final Gravity gravity) {
          if (mGravity != gravity) {
              mGravity = gravity;
              if (mContainer != null) {
                  mContainer.onLayoutChanged(this);
              }
          }
      }