QQ浏览器 v12.2.3.7053版本的 MD5 值为:8285ab3059e5c8b521a264dfbc5c3685
以下内容为反编译后的 ExportBriefView.java 源代码,内容仅作参考
package com.tencent.mtt.file.page.toolc.resume.list;
import android.content.Context;
import android.widget.FrameLayout;
import com.tencent.mtt.R;
import com.tencent.mtt.base.ui.widget.QBWebImageView;
import com.tencent.mtt.file.pagecommon.viewext.ViewExtKt;
import kotlin.jvm.internal.Intrinsics;
public final class ExportBriefView extends FrameLayout {
private final String f62939a;
private final QBWebImageView f62940b;
private final QBWebImageView f62941c;
private final FrameLayout f62942d;
public ExportBriefView(Context context) {
super(context);
Intrinsics.checkParameterIsNotNull(context, "context");
this.f62939a = "https://m4.publicimg.browser.qq.com/publicimg/nav/file/toolc_template_chosse_check.png";
this.f62940b = new QBWebImageView(context);
this.f62941c = new QBWebImageView(context);
this.f62942d = new FrameLayout(context);
FrameLayout.LayoutParams layoutParams = new FrameLayout.LayoutParams(ViewExtKt.a(92), ViewExtKt.a(130));
layoutParams.topMargin = ViewExtKt.a(18);
layoutParams.rightMargin = ViewExtKt.a(6);
layoutParams.leftMargin = ViewExtKt.a(6);
layoutParams.bottomMargin = ViewExtKt.a(12);
layoutParams.gravity = 17;
FrameLayout.LayoutParams layoutParams2 = layoutParams;
addView(this.f62940b, layoutParams2);
addView(this.f62942d, layoutParams2);
FrameLayout.LayoutParams layoutParams3 = new FrameLayout.LayoutParams(ViewExtKt.a(24), ViewExtKt.a(24));
layoutParams3.bottomMargin = ViewExtKt.a(3);
layoutParams3.gravity = 8388693;
addView(this.f62941c, layoutParams3);
this.f62941c.setVisibility(8);
this.f62941c.setUrl(this.f62939a);
}
public final void a() {
this.f62941c.setVisibility(0);
FrameLayout.LayoutParams layoutParams = new FrameLayout.LayoutParams(ViewExtKt.a(94), ViewExtKt.a(132));
layoutParams.topMargin = ViewExtKt.a(17);
layoutParams.rightMargin = ViewExtKt.a(5);
layoutParams.leftMargin = ViewExtKt.a(5);
layoutParams.bottomMargin = ViewExtKt.a(11);
layoutParams.gravity = 17;
this.f62942d.setLayoutParams(layoutParams);
this.f62942d.setBackground(getResources().getDrawable(R.drawable.f_));
}
public final void a(String url) {
Intrinsics.checkParameterIsNotNull(url, "url");
this.f62940b.setUrl(url);
}
public final void b() {
this.f62941c.setVisibility(8);
FrameLayout.LayoutParams layoutParams = new FrameLayout.LayoutParams(ViewExtKt.a(92), ViewExtKt.a(130));
layoutParams.topMargin = ViewExtKt.a(18);
layoutParams.rightMargin = ViewExtKt.a(6);
layoutParams.leftMargin = ViewExtKt.a(6);
layoutParams.bottomMargin = ViewExtKt.a(12);
layoutParams.gravity = 17;
this.f62942d.setLayoutParams(layoutParams);
this.f62942d.setBackground(getResources().getDrawable(R.drawable.fa));
}
}