Adapted to various sizes of Android displays