CpuUsageViewModule.java 文件源码

java
阅读 38 收藏 0 点赞 0 评论 0

项目:DebugOverlay-Android 作者:
@Override
public View createView(ViewGroup root, @ColorInt int textColor, float textSize, float textAlpha) {
    View view = LayoutInflater.from(root.getContext()).inflate(layoutResId, root, false);
    cpuUsageTextView = view.findViewById(R.id.debugoverlay_overlay_text);
    cpuUsageTextView.setTextColor(textColor);
    cpuUsageTextView.setTextSize(textSize);
    cpuUsageTextView.setAlpha(textAlpha);
    return view;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号