29 lines
932 B
Java
29 lines
932 B
Java
|
package com.google.android.material.tabs;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.graphics.drawable.Drawable;
|
||
|
import android.util.AttributeSet;
|
||
|
import android.view.View;
|
||
|
import o.C0683McA;
|
||
|
import o.C17052tZT;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public class TabItem extends View {
|
||
|
public final int a;
|
||
|
public final CharSequence c;
|
||
|
public final Drawable d;
|
||
|
|
||
|
public TabItem(Context context) {
|
||
|
this(context, null);
|
||
|
}
|
||
|
|
||
|
public TabItem(Context context, AttributeSet attributeSet) {
|
||
|
super(context, attributeSet);
|
||
|
C0683McA c0683McA = new C0683McA(context, context.obtainStyledAttributes(attributeSet, C17052tZT.jNh.TabItem));
|
||
|
this.c = c0683McA.d.getText(C17052tZT.jNh.TabItem_android_text);
|
||
|
this.d = c0683McA.jL_(C17052tZT.jNh.TabItem_android_icon);
|
||
|
this.a = c0683McA.d.getResourceId(C17052tZT.jNh.TabItem_android_layout, 0);
|
||
|
c0683McA.d.recycle();
|
||
|
}
|
||
|
}
|