content: package com.google.android.material.tabs;
  
  import android.content.Context;
  import android.graphics.drawable.Drawable;
  import android.util.AttributeSet;
  import android.view.View;
  import androidx.appcompat.widget.TintTypedArray;
  import com.google.android.material.R;
  
  public class TabItem extends View {
      public final int customLayout;
      public final Drawable icon;
      public final CharSequence text;
  
      public TabItem(Context context) {
          this(context, (AttributeSet) null);
      }
  
      public TabItem(Context context, AttributeSet attrs) {
          super(context, attrs);
          TintTypedArray obtainStyledAttributes = TintTypedArray.obtainStyledAttributes(context, attrs, R.styleable.TabItem);
          this.text = obtainStyledAttributes.getText(R.styleable.TabItem_android_text);
          this.icon = obtainStyledAttributes.getDrawable(R.styleable.TabItem_android_icon);
          this.customLayout = obtainStyledAttributes.getResourceId(R.styleable.TabItem_android_layout, 0);
          obtainStyledAttributes.recycle();
      }
  }
  