QQ浏览器 v12.2.3.7053版本的 MD5 值为:8285ab3059e5c8b521a264dfbc5c3685
以下内容为反编译后的 CloudFileEmptyViewCreator.java 源代码,内容仅作参考
package com.tencent.mtt.file.page.documents.utils;
import android.content.Context;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.tencent.mtt.R;
import com.tencent.mtt.base.skin.MttResources;
import com.tencent.mtt.base.ui.widget.QBWebImageView;
import com.tencent.mtt.newskin.SimpleSkinBuilder;
import com.tencent.mtt.view.common.QBTextView;
import com.tencent.mtt.view.layout.QBLinearLayout;
public class CloudFileEmptyViewCreator {
public static View a(Context context) {
QBLinearLayout qBLinearLayout = new QBLinearLayout(context);
qBLinearLayout.setOrientation(1);
qBLinearLayout.setGravity(1);
QBWebImageView qBWebImageView = new QBWebImageView(context);
qBWebImageView.setUrl("https://m4.publicimg.browser.qq.com/publicimg/nav/file/cloud_file_empty.png");
LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(MttResources.s(133), MttResources.s(133));
qBWebImageView.setScaleType(ImageView.ScaleType.FIT_XY);
layoutParams.topMargin = MttResources.s(44);
SimpleSkinBuilder.a((ImageView) qBWebImageView).f();
qBLinearLayout.addView(qBWebImageView, layoutParams);
QBTextView qBTextView = new QBTextView(context);
qBTextView.setIncludeFontPadding(false);
qBTextView.setGravity(17);
qBTextView.setTextSize(0, MttResources.s(16));
qBTextView.setText("暂无文档");
LinearLayout.LayoutParams layoutParams2 = new LinearLayout.LayoutParams(-2, -2);
SimpleSkinBuilder.a((TextView) qBTextView).g(R.color.theme_common_color_a1).f();
qBLinearLayout.addView(qBTextView, layoutParams2);
return qBLinearLayout;
}
}