java.lang.ClassCastException: android.view.ViewGroup$LayoutParams cannot be cast to android.widget.R
错误代码:ImageView img1 = (ImageView) tabWidget.getChildAt(0).findViewById(android.R.id.icon); img1.setLayoutParams(new RelativeLayout.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PA