【发布时间】:2021-05-08 12:13:52
【问题描述】:
这是我的代码,它显示以下错误
第 6 行给出了这个错误,格式不正确(无效标记)。如何解决这个问题
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/greenColor"
I have added comment here in <!-- -->
tools:context=".MainActivity">
【问题讨论】:
-
你不能在标签正文中添加评论。