inspector/src/main/java/com/taobao/weex/devtools/toolbox/PerformanceActivity.java
Method addTab
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void addTab(String title, final boolean selected, final View.OnClickListener listener) {
final TextView textView = new TextView(this);
textView.setText(title);
LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT);
lp.weight = 1;