设置子view的 Gravity.LEFT | GRAVITY.TOP params.gravity = Gravity.LEFT | Gravity.TOP; params.leftMargin = 40; params.topMargin = 80;