Android studio 3.6.1,布局未在编辑器中打开。 Studio 不显示 XML 编辑器只显示布局的设计部分?

标签 android xml android-studio android-layout editor

<分区>

当我今天打开 studio(Android studio 3.6.1) 时。布局未在 XML 编辑器中打开,它不显示 XML 编辑器,仅显示设计部分

截图如下

enter image description here

我尝试了使缓存无效并重新启动、清理项目、构建项目、同步 gradle 文件、重新启动我的系统,但没有任何效果。

是什么导致了这种奇怪的行为?

最佳答案

Click on button which is top right corner.

enter image description here

此外,更新 Android Studio 3.6.2,因为在 3.6.1 中存在一些数据绑定(bind)问题。

关于Android studio 3.6.1,布局未在编辑器中打开。 Studio 不显示 XML 编辑器只显示布局的设计部分?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61094141/

相关文章:

android-studio - 如何解决java.lang.NoSuchFieldError : No field Companion of type Landroidx/compose/runtime/SlotTable$Companion?

java - 如何修复此错误 AAPT2 错误 : check logs for details?

android - Android XML预览- “The following classes could not be found”

android - 在 TextView 中显示 3 个点或截断的任何其他方法

java - 是否可以为 API 范围定义特定的尺寸?

android - Android 应用程序中的所有图像都被视为图标吗?

android - Recyclerview StaggeredGridLayoutManager - 查找最后一个可见项目

android - 错误 : eglSurfaceAttrib not implemented

java - 将数组列表对象转换为 jsonarray

android - gradle - 依赖项中的库重复