debug
12/14/2016, 6:32 PMlinearLayout in your relativeLayout, if lparams is called inside linearLayout, wouldn't that mean it's applying LinearLayout.LayoutParams on itself? This would cause a crash because it's parent is a RelativeLayout. Right?