Missing XML resource type for PercentRelativeLayout Percentage value?
问题 It seems that the new Percent Support Library was released without allowing to reference a Percentage value in a dimension xml file. That is, instead of : <android.support.percent.PercentRelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent"/> <ImageView app:layout_widthPercent="50%" app:layout_heightPercent="50%" app:layout_marginTopPercent="25%" app