【发布时间】:2018-10-29 18:29:19
【问题描述】:
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>
【问题讨论】:
-
这可能是Help
标签: android optimization android-constraintlayout