Fix mdpi layout issues

Before: http://i.imgur.com/DuLGT.png
After: http://i.imgur.com/yO4CP.png