Make FixedAspectRatioFrameLayout more flexible