Android 如何在ConstraintLayout中使用创建者

Android 如何在ConstraintLayout中使用创建者,android,android-constraintlayout,Android,Android Constraintlayout,在ConstraintLayout中,我们有了新类型的参数creator:layout\u constraintTop\u creator或layout\u constraintRight\u creator 它应该如何使用?正如名称空间所暗示的(工具:layout\u constraintTop\u creator),它完全由Android Studio使用——当xml文件被推送到设备上时,这些属性(使用名称空间工具)实际上被去除 所以不应该使用:) 现在,如果您想知道Studio如何使用这些

ConstraintLayout
中,我们有了新类型的参数
creator
layout\u constraintTop\u creator
layout\u constraintRight\u creator
它应该如何使用?

正如名称空间所暗示的(
工具:layout\u constraintTop\u creator
),它完全由Android Studio使用——当xml文件被推送到设备上时,这些属性(使用名称空间
工具
)实际上被去除

所以不应该使用:)


现在,如果您想知道Studio如何使用这些约束,其实很简单:我们使用creator属性来跟踪谁创建了约束,特别是如果这些约束是由推理引擎创建的,因为我们希望在某些情况下废弃/替换它们。

不同的值是什么?例如,推理机的值是“1”吗?现在(1.0.2)creator属性也在
app
名称空间中。。那是什么意思?