Layout fixes for activities.