android - Infer Constraints in Android studio 最新版本(3.0)

标签 android android-layout android-studio android-constraintlayout android-studio-3.0

在此图像中,按钮有一条弯曲的线。通常在以前的 android 版本中,我曾经选择推断约束,以便波浪线消失。现在在最新的 android 版本中没有推断约束的选项。还有其他方法可以去除假发线吗?

image

最佳答案

您可以在 Android Studio 3.0 中使用推断约束

只需确保您位于“设计”选项卡中,而不是“文本”选项卡(位于屏幕底部附近)。

点击推断约束

enter image description here

关于android - Infer Constraints in Android studio 最新版本(3.0),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46977540/

相关文章:

android google maps nullpointerexception

android - 如何在 Android 中使用dimens.xml?

android - 将字符串更改为日历对象值。

java - 在android studio中调试时如何在运行时检查函数的返回值

android - 组织.json.JSONException : End of input at character

android - 如何使 Android 4.0 应用程序向后兼容?

android - 无法在循环中将多个 TextView 添加到 linearLayout

android - 将 ActionBar 添加到 Android Studio 中的默认 Google map Activity 模板

android - 使用Koin库时无法导入ViewModel

android - Android 上的 PdfDocument - 填充 PDF