alexandroid/decompiled/jadx/sources/com/google/android/material/tabs/TabItem.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

29 lines
1.1 KiB
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 androidx.appcompat.widget.TintTypedArray;
import com.google.android.material.R;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes7.dex */
public class TabItem extends View {
public final int customLayout;
public final Drawable icon;
public final CharSequence text;
public TabItem(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
TintTypedArray obtainStyledAttributes = TintTypedArray.obtainStyledAttributes(context, attributeSet, 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();
}
public TabItem(Context context) {
this(context, null);
}
}