RatioImageView RatioImageView <com.github.mao.view.MMRatioImageView android:layout_width="100dp" android:layout_height="10dp" android:layout_marginTop="10dp" android:background="@color/colorAccent" app:whMMRatio="1.6" app:whMMRatioEnable="true" />