Layout fixes.
Layout fixes for older versions of Android.