Use auto layout to layout the subviews of AFImageView.