what-the-bank/sources/com/scb/phone/view/custom/common/TintNoteEditText.java

39 lines
1.2 KiB
Java

package com.scb.phone.view.custom.common;
import android.content.Context;
import android.util.AttributeSet;
import com.scb.phone.R;
import o.nMh;
/* loaded from: classes5.dex */
public class TintNoteEditText extends NoteEditText {
@Override // com.scb.phone.view.custom.common.NoteEditText
protected final int a() {
return R.layout.2131558882;
}
public TintNoteEditText(Context context) {
super(context);
}
public TintNoteEditText(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
}
public TintNoteEditText(Context context, AttributeSet attributeSet, int i) {
super(context, attributeSet, i);
}
@Override // com.scb.phone.view.custom.common.NoteEditText
public final void b() {
this.mErrorText.setVisibility(8);
this.mNoteEditText.setBackground(nMh.getDrawable(getContext(), R.drawable.shape_gray_rounded_rectangle_with_focus_color));
}
@Override // com.scb.phone.view.custom.common.NoteEditText
public final void d() {
this.mErrorText.setVisibility(0);
this.mNoteEditText.setBackground(nMh.getDrawable(getContext(), R.drawable.shape_red_reounded_reactangle_border));
}
}