Layout improvements for older Android versions