ConstraintLayout Оптимизация деталей - PullRequest
0 голосов
/ 29 октября 2018

Допустимы ли ConstraintLayout layout_optimizationLevel для подпредставлений?

Например: app:layout_optimizationLevel="standard" является эффектом для TextView?

<android.support.constraint.ConstraintLayout 
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:layout_optimizationLevel="standard">

    <TextView
        android:layout_width="0dp"
        android:layout_height="wrap_content"/>

</android.support.constraint.ConstraintLayout>

1 Ответ

0 голосов
/ 29 октября 2018

layout_optimizationLevel для параметров ConstraintLayout, которые используются для разметки видов в нем. Не для самого просмотра.

Вы можете прочитать об этом подробнее здесь .

...