Fix dependence on LinearLayout LayoutParams