简体   繁体   English

添加视图后,Android Studio 无法显示设计布局

[英]Android Studio cannot show design layout after adding a view

I'm getting a rare error when I've tried to add a TextInputLayout to a simple layout for a Dialog, the editor stops to show the design mode WTF.当我尝试将 TextInputLayout 添加到对话框的简单布局时,我遇到了一个罕见的错误,编辑器停止显示设计模式 WTF。

屏幕

What's wrong?怎么了? Restarting Android Studio, doesn't work.重新启动 Android Studio,不起作用。

NOTE: The exclamation on the textinputlayout is for the contrast color of the text注意:textinputlayout 上的感叹号用于文本的对比色

This not a problem.这不是问题。 The reason of this, maybe your views is not defined.之所以这样,可能是你的观点没有定义。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM