QQ浏览器 v12.2.3.7053版本的 MD5 值为:8285ab3059e5c8b521a264dfbc5c3685
以下内容为反编译后的 AccountLogoutDetailInfoView.java 源代码,内容仅作参考
package com.tencent.mtt.external.setting.logout;
import android.content.Context;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.text.TextUtils;
import android.view.View;
import android.widget.FrameLayout;
import com.tencent.mtt.base.functionwindow.FunctionResource;
import com.tencent.mtt.base.functionwindow.MttFunctionPage;
import com.tencent.mtt.base.functionwindow.MttFunctionPageBar;
import com.tencent.mtt.base.webview.QBWebView;
import com.tencent.mtt.external.setting.facade.SettingView;
import qb.a.e;
public class AccountLogoutDetailInfoView extends SettingView {
QBWebView f59714a;
public AccountLogoutDetailInfoView(Context context) {
super(context);
this.f59714a = null;
a(context);
}
private void a(Context context) {
this.f59714a = new QBWebView(context);
addView(this.f59714a, new FrameLayout.LayoutParams(-1, -1));
new Handler(Looper.getMainLooper()).postDelayed(new Runnable() {
@Override
public void run() {
AccountLogoutDetailInfoView.this.f59714a.loadUrl("http://rule.tencent.com/rule/preview/6c772af0-25db-4971-8149-27d1d4dc9314");
}
}, 500L);
}
public MttFunctionPage.MttFunctionPageParams a(String str, Bundle bundle, View view) {
MttFunctionPage.MttFunctionPageParams mttFunctionPageParams = new MttFunctionPage.MttFunctionPageParams();
mttFunctionPageParams.A = false;
mttFunctionPageParams.B = str;
MttFunctionPageBar.OptimizeAlphaTextView optimizeAlphaTextView = new MttFunctionPageBar.OptimizeAlphaTextView(getContext());
optimizeAlphaTextView.setSingleLine();
optimizeAlphaTextView.setEllipsize(TextUtils.TruncateAt.END);
optimizeAlphaTextView.setFocusable(false);
optimizeAlphaTextView.setTextSize(FunctionResource.c());
optimizeAlphaTextView.setGravity(17);
optimizeAlphaTextView.setText(str);
optimizeAlphaTextView.setTextColorNormalIds(e.f85871a);
mttFunctionPageParams.G = optimizeAlphaTextView;
return mttFunctionPageParams;
}
@Override
protected void onDetachedFromWindow() {
super.onDetachedFromWindow();
QBWebView qBWebView = this.f59714a;
if (qBWebView != null) {
qBWebView.destroy();
}
}
}