Files
rr3-apk/decompiled-community/sources/com/mbridge/msdk/widget/FeedBackButton.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- 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
2026-02-18 15:48:36 -08:00

53 lines
1.7 KiB
Java

package com.mbridge.msdk.widget;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Color;
import android.graphics.drawable.GradientDrawable;
import android.util.AttributeSet;
import android.widget.TextView;
import androidx.annotation.RequiresApi;
import com.mbridge.msdk.foundation.tools.ak;
import com.mbridge.msdk.foundation.tools.x;
@SuppressLint({"AppCompatCustomView"})
/* loaded from: classes4.dex */
public class FeedBackButton extends TextView {
public static String FEEDBACK_BTN_BACKGROUND_COLOR_STR = "#60000000";
public FeedBackButton(Context context) {
super(context);
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(FEEDBACK_BTN_BACKGROUND_COLOR_STR));
setBackground(gradientDrawable);
setTextColor(-1);
}
public FeedBackButton(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
a();
}
public FeedBackButton(Context context, AttributeSet attributeSet, int i) {
super(context, attributeSet, i);
a();
}
@RequiresApi(api = 21)
public FeedBackButton(Context context, AttributeSet attributeSet, int i, int i2) {
super(context, attributeSet, i, i2);
a();
}
}