Implement LinearLayout.expand.