Layout fixes for older versions of Android.