Отсутствует тип ресурса XML для значения PercentRelativeLayout Percentage?

Кажется, что новая библиотека поддержки процентов была выпущена без ссылки на значение процента в файле измерения XML.

То есть вместо:

 <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:layout_marginLeftPercent="25%"/>
 </android.support.percent.PercentFrameLayout/>

возможность кодировать что-то вроде этого:

 <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="@percent/myWidthPercent"
     app:layout_heightPercent="@percent/my/HeightPercent"
     app:layout_marginTopPercent="@percent/myMarginTophPercent"
     app:layout_marginLeftPercent="@percent/myMarginLeftPercent"/>

где myWidthPercent определяется в файлах ресурсов.

Я ошибаюсь (я пропустил его под другим именем) или это запрос функции, который мы могли бы отправить в Google?

Ответы на вопрос(1)

Ваш ответ на вопрос