int getMinHeight() {
    int minHeight = 0;
    final Drawable bg = getBackground();
    if (bg != null) {
      minHeight = bg.getIntrinsicHeight();
    }
    return minHeight;
  }
Set the {@link Gravity} used to position text within the title strip.
Only the vertical gravity component is used.

@param gravity {@link Gravity} constant for positioning title text
sample/src/main/java/android/support/v4/view/PagerTitleStripV22.java