- 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
59 lines
2.2 KiB
Java
59 lines
2.2 KiB
Java
package com.mbridge.msdk.nativex.view.mbfullview;
|
|
|
|
import android.content.Context;
|
|
import android.view.LayoutInflater;
|
|
import android.view.View;
|
|
import android.widget.ImageView;
|
|
import android.widget.RelativeLayout;
|
|
import android.widget.TextView;
|
|
import com.mbridge.msdk.foundation.tools.x;
|
|
import com.mbridge.msdk.playercommon.exoplayer2.text.ttml.TtmlNode;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class MBridgeTopFullView extends BaseView {
|
|
public static final String INTERFACE_RESULT = MBridgeTopFullView.class.getName() + "WithResault";
|
|
protected ImageView j;
|
|
protected TextView k;
|
|
protected TextView l;
|
|
protected StarLevelLayoutView m;
|
|
|
|
public TextView getMBridgeFullViewDisplayDscription() {
|
|
return this.l;
|
|
}
|
|
|
|
public ImageView getMBridgeFullViewDisplayIcon() {
|
|
return this.j;
|
|
}
|
|
|
|
public TextView getMBridgeFullViewDisplayTitle() {
|
|
return this.k;
|
|
}
|
|
|
|
public StarLevelLayoutView getStarLevelLayoutView() {
|
|
return this.m;
|
|
}
|
|
|
|
public MBridgeTopFullView(Context context) {
|
|
super(context);
|
|
View inflate = LayoutInflater.from(getContext()).inflate(x.a(getContext(), "mbridge_nativex_fullscreen_top", TtmlNode.TAG_LAYOUT), this.i);
|
|
if (inflate != null) {
|
|
this.j = (ImageView) inflate.findViewById(x.a(getContext(), "mbridge_full_tv_display_icon", "id"));
|
|
this.k = (TextView) inflate.findViewById(x.a(getContext(), "mbridge_full_tv_display_title", "id"));
|
|
this.l = (TextView) inflate.findViewById(x.a(getContext(), "mbridge_full_tv_display_description", "id"));
|
|
this.m = (StarLevelLayoutView) inflate.findViewById(x.a(getContext(), "mbridge_full_tv_feeds_star", "id"));
|
|
this.l.setTextColor(-7829368);
|
|
inflate.setLayoutParams(new RelativeLayout.LayoutParams(-1, -1));
|
|
updateLayoutParams();
|
|
}
|
|
}
|
|
|
|
public void updateLayoutParams() {
|
|
RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(-1, -1);
|
|
layoutParams.addRule(10);
|
|
this.a.setLayoutParams(layoutParams);
|
|
RelativeLayout.LayoutParams layoutParams2 = new RelativeLayout.LayoutParams(-1, -2);
|
|
layoutParams2.addRule(10);
|
|
this.b.setLayoutParams(layoutParams2);
|
|
}
|
|
}
|