标签:
public void replaceRightView(View v) { int f = LinearLayout.LayoutParams.MATCH_PARENT; LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(f, f); LinearLayout fragment_place = (LinearLayout) findViewById(R.id.fragment_place); fragment_place.removeAllViews(); fragment_place.addView(v, params); }
版权声明:本文博客原创文章,博客,未经同意,不得转载。
标签:
原文地址:http://www.cnblogs.com/mengfanrong/p/4612988.html