37 lines
1.1 KiB
Java
37 lines
1.1 KiB
Java
package com.ubt.jimu.widgets;
|
|
|
|
import android.content.Context;
|
|
import android.util.AttributeSet;
|
|
import android.view.LayoutInflater;
|
|
import android.widget.LinearLayout;
|
|
import com.ubt.jimu.R;
|
|
import com.ubt.jimu.utils.LocaleUtils;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class ThirdLoginView extends LinearLayout {
|
|
public ThirdLoginView(Context context) {
|
|
this(context, null);
|
|
}
|
|
|
|
private void a(Context context) {
|
|
if (LocaleUtils.f()) {
|
|
LayoutInflater.from(context).inflate(R.layout.lay_register_third_china, this);
|
|
} else {
|
|
LayoutInflater.from(context).inflate(R.layout.lay_register_third_oversea, this);
|
|
}
|
|
}
|
|
|
|
public ThirdLoginView(Context context, AttributeSet attributeSet) {
|
|
this(context, attributeSet, 0);
|
|
}
|
|
|
|
public ThirdLoginView(Context context, AttributeSet attributeSet, int i) {
|
|
this(context, attributeSet, i, 0);
|
|
}
|
|
|
|
public ThirdLoginView(Context context, AttributeSet attributeSet, int i, int i2) {
|
|
super(context, attributeSet, i, i2);
|
|
a(context);
|
|
}
|
|
}
|