LayoutParams fix

Used incorrect ViewGroup.LayoutParams which crashed on 4.0.3 devices.