1
ViewGroup.LayoutParams layoutParams = new RelativeLayout.LayoutParams(containerWidth, fragmentHeight);
layoutParams.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM);
,我得到:錯誤:無法找到符號方法addRule(INT)的Android Studio無法解析法addRule()
的Android Studio版本0.4.5
你有什麼進口的? – wlk