54 lines
1.3 KiB
Java
54 lines
1.3 KiB
Java
package com.scb.phone.view.custom.common;
|
|
|
|
import android.content.Context;
|
|
import android.util.AttributeSet;
|
|
import android.view.LayoutInflater;
|
|
import android.view.ViewGroup;
|
|
import android.widget.ImageView;
|
|
import android.widget.LinearLayout;
|
|
import android.widget.TextView;
|
|
import butterknife.BindView;
|
|
import butterknife.ButterKnife;
|
|
import com.scb.phone.R;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public class CustomSwitchItem extends LinearLayout {
|
|
|
|
@BindView
|
|
TextView firstLabelTextView;
|
|
|
|
@BindView
|
|
TextView firstValueTextView;
|
|
|
|
@BindView
|
|
ImageView imageView;
|
|
|
|
@BindView
|
|
TextView secondLabelTextView;
|
|
|
|
@BindView
|
|
TextView secondValueTextView;
|
|
|
|
public CustomSwitchItem(Context context, AttributeSet attributeSet) {
|
|
super(context, attributeSet);
|
|
((LayoutInflater) context.getSystemService("layout_inflater")).inflate(R.layout.2131559365, (ViewGroup) this, true);
|
|
ButterKnife.c(this);
|
|
}
|
|
|
|
public void setFirstText(String str) {
|
|
this.firstLabelTextView.setText(str);
|
|
}
|
|
|
|
public void setFirstValue(String str) {
|
|
this.firstValueTextView.setText(str);
|
|
}
|
|
|
|
public void setSecondText(String str) {
|
|
this.secondLabelTextView.setText(str);
|
|
}
|
|
|
|
public void setSecondValue(String str) {
|
|
this.secondValueTextView.setText(str);
|
|
}
|
|
}
|