如果我创建一个新的XML文件(使用默认的Android Studio"创建线性布局"),Studio会生成一个包含内容的文件:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
</LinearLayout>
Run Code Online (Sandbox Code Playgroud)
如果我(右) - 单击"分析...→检查代码",结果窗口将抛出2次:"命名空间未绑定"并引用第3行和第7行(LinearLayout-tags).它是Studio中的错误吗?