LayoutParams寫了沒用,用了也沒啥效果,多余的吧
ViewGroup.LayoutParams?lp?=?new?ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,?ViewGroup.LayoutParams.MATCH_PARENT); container.addView(view,?lp);????//?這里鴻神寫錯了,要加lp,不過加了也沒啥用
ViewGroup.LayoutParams?lp?=?new?ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,?ViewGroup.LayoutParams.MATCH_PARENT); container.addView(view,?lp);????//?這里鴻神寫錯了,要加lp,不過加了也沒啥用
2019-11-27
舉報
2020-03-21
好像是這樣的