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

43 lines
1.1 KiB
Java

package com.scb.phone.view.custom.common;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RelativeLayout;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.scb.phone.R;
import o.C0380Fh;
import o.nMh;
/* loaded from: classes5.dex */
public class CustomRecentTransaction extends RelativeLayout {
@BindView
View borderView;
@BindView
TextView dateTextView;
@BindView
TextView valueTextView;
public CustomRecentTransaction(Context context) {
super(context);
}
public CustomRecentTransaction(Context context, C0380Fh c0380Fh) {
super(context);
((LayoutInflater) context.getSystemService("layout_inflater")).inflate(R.layout.2131559319, (ViewGroup) this, true);
ButterKnife.c(this);
this.dateTextView.setText(c0380Fh.b);
this.valueTextView.setText(c0380Fh.d);
if (c0380Fh.c == 0) {
c0380Fh.c = android.R.color.transparent;
}
this.valueTextView.setTextColor(nMh.getColor(context, c0380Fh.c));
}
}