📌  相关文章
📜  如何以编程方式在 android 中设置布局参数 kotlin 代码示例

📅  最后修改于: 2022-03-11 14:53:34.889000             🧑  作者: Mango

代码示例2
val parm : ViewGroup.LayoutParams = ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,ViewGroup.LayoutParams.MATCH_PARENT)
binding!!.youtubePlayerView.layoutParams = parm