求助— error: Error parsing XML: mismatched tag

lostbeg 2013-04-12 11:01:01
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout android:id="@+id/contentViewLayout"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginBottom="57dip"/>
<HorizontalScrollView
android:id="@+id/Scroll"
android:scrollbarSize="10dip"
android:layout_alignParentBottom="true"
android:layout_width="fill_parent"
android:background="@drawable/bottom_bar"
android:layout_height="40dip">
<RadioGroup
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:id="@+id/tabBar">
</RadioGroup>
</HorizontalScrollView>
</RelativeLayout>
总是报: Error parsing XML: mismatched tag错误,但不知道哪里有问题,谢谢!!
...全文
4850 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
阳光碎片_ 2015-01-12
  • 打赏
  • 举报
回复
是少了一个LinearLayout的结束标签么?你用<LinearLayout> </LinearLayout>这种形式来包裹你的线性布局内容试试?
lostbeg 2013-04-14
  • 打赏
  • 举报
回复
重新加载工程就好了。。
Ada168855 2013-04-13
  • 打赏
  • 举报
回复
XML文件解析错误 :标签不匹配 如果你运行程序时出现错误,LogCat中有更详细的错误,去里面看看具体是什么错误
lucherr 2013-04-13
  • 打赏
  • 举报
回复
这个布局文件应该是没有问题的,我运行的时候一切正常,是不是别的地方出错了?或者像楼上说的,clean一下吧
monodin 2013-04-13
  • 打赏
  • 举报
回复
clean一下试试

80,351

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧