ADD week 5
This commit is contained in:
@ -0,0 +1,43 @@
|
||||
package com.google.android.material.theme;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.AttributeSet;
|
||||
import androidx.appcompat.app.AppCompatViewInflater;
|
||||
import androidx.appcompat.widget.AppCompatAutoCompleteTextView;
|
||||
import androidx.appcompat.widget.AppCompatButton;
|
||||
import androidx.appcompat.widget.AppCompatCheckBox;
|
||||
import androidx.appcompat.widget.AppCompatRadioButton;
|
||||
import androidx.appcompat.widget.AppCompatTextView;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import com.google.android.material.checkbox.MaterialCheckBox;
|
||||
import com.google.android.material.radiobutton.MaterialRadioButton;
|
||||
import com.google.android.material.textfield.MaterialAutoCompleteTextView;
|
||||
import com.google.android.material.textview.MaterialTextView;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class MaterialComponentsViewInflater extends AppCompatViewInflater {
|
||||
@Override // androidx.appcompat.app.AppCompatViewInflater
|
||||
protected AppCompatButton createButton(Context context, AttributeSet attributeSet) {
|
||||
return new MaterialButton(context, attributeSet);
|
||||
}
|
||||
|
||||
@Override // androidx.appcompat.app.AppCompatViewInflater
|
||||
protected AppCompatCheckBox createCheckBox(Context context, AttributeSet attributeSet) {
|
||||
return new MaterialCheckBox(context, attributeSet);
|
||||
}
|
||||
|
||||
@Override // androidx.appcompat.app.AppCompatViewInflater
|
||||
protected AppCompatRadioButton createRadioButton(Context context, AttributeSet attributeSet) {
|
||||
return new MaterialRadioButton(context, attributeSet);
|
||||
}
|
||||
|
||||
@Override // androidx.appcompat.app.AppCompatViewInflater
|
||||
protected AppCompatTextView createTextView(Context context, AttributeSet attributeSet) {
|
||||
return new MaterialTextView(context, attributeSet);
|
||||
}
|
||||
|
||||
@Override // androidx.appcompat.app.AppCompatViewInflater
|
||||
protected AppCompatAutoCompleteTextView createAutoCompleteTextView(Context context, AttributeSet attributeSet) {
|
||||
return new MaterialAutoCompleteTextView(context, attributeSet);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user