LayoutInflater的inflate方法参数
摘要:
如果调用inflate方法,传入了ViewGroup root参数,则会从root中得到由layout_width和layout_height组成的LayoutParams,在attachToRoot设置为false的话,就会对我们加载的视图View设置该LayoutParams。 如果设置了Vie 阅读全文
posted @ 2017-09-16 10:18 Jesseylove 阅读(210) 评论(0) 推荐(0)
浙公网安备 33010602011771号