set applyLayoutParams to protected