Backward compatibility with LinearLayout