- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
44 lines
1.4 KiB
Java
44 lines
1.4 KiB
Java
package com.mbridge.msdk.dycreator.baseview;
|
|
|
|
import android.content.Context;
|
|
import android.graphics.Color;
|
|
import android.graphics.drawable.GradientDrawable;
|
|
import android.util.AttributeSet;
|
|
import com.mbridge.msdk.foundation.tools.ak;
|
|
import com.mbridge.msdk.foundation.tools.x;
|
|
import com.mbridge.msdk.widget.FeedBackButton;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class MBFeedBack extends MBTextView {
|
|
public static String FEEDBACK_BTN_BACKGROUND_COLOR_STR = "#60000000";
|
|
|
|
public MBFeedBack(Context context) {
|
|
super(context);
|
|
a();
|
|
}
|
|
|
|
public MBFeedBack(Context context, AttributeSet attributeSet) {
|
|
super(context, attributeSet);
|
|
a();
|
|
}
|
|
|
|
public MBFeedBack(Context context, AttributeSet attributeSet, int i) {
|
|
super(context, attributeSet, i);
|
|
a();
|
|
}
|
|
|
|
private void a() {
|
|
setText(x.a(getContext(), "mbridge_cm_feedback_btn_text", "string"));
|
|
int a = ak.a(getContext(), 13.0f);
|
|
setPadding(a, 0, a, 0);
|
|
setTextIsSelectable(false);
|
|
setGravity(17);
|
|
setBackgroundColor(Color.parseColor(FEEDBACK_BTN_BACKGROUND_COLOR_STR));
|
|
GradientDrawable gradientDrawable = new GradientDrawable();
|
|
gradientDrawable.setCornerRadius(ak.a(r0, 20.0f));
|
|
gradientDrawable.setColor(Color.parseColor(FeedBackButton.FEEDBACK_BTN_BACKGROUND_COLOR_STR));
|
|
setBackground(gradientDrawable);
|
|
setTextColor(-1);
|
|
}
|
|
}
|