docs: protected TextView createDefaultTabView(CharSequence title) {
      TextView textView = new TextView(getContext());
      textView.setGravity(Gravity.CENTER);
      textView.setText(title);
      textView.setTextColor(tabViewTextColors);
      textView.setTextSize(TypedValue.COMPLEX_UNIT_PX, tabViewTextSize);
      textView.setTypeface(Typeface.DEFAULT_BOLD);
      textView.setLayoutParams(new LinearLayout.LayoutParams(
          LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.MATCH_PARENT));
  
      if (tabViewBackgroundResId != NO_ID) {
        textView.setBackgroundResource(tabViewBackgroundResId);
      } else {
        // If we're running on Honeycomb or newer, then we can use the Theme's
        // selectableItemBackground to ensure that the View has a pressed state
        TypedValue outValue = new TypedValue();
        getContext().getTheme().resolveAttribute(android.R.attr.selectableItemBackground,
            outValue, true);
        textView.setBackgroundResource(outValue.resourceId);
      }
  
      if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
        // If we're running on ICS or newer, enable all-caps to match the Action Bar tab style
        textView.setAllCaps(tabViewTextAllCaps);
      }
  
      textView.setPadding(
          tabViewTextHorizontalPadding, 0,
          tabViewTextHorizontalPadding, 0);
  
      if (tabViewTextMinWidth > 0) {
        textView.setMinWidth(tabViewTextMinWidth);
      }
  
      return textView;
    }