【发布时间】:2015-01-27 23:59:10
【问题描述】:
我是 android 应用程序开发的新手,我遇到了这些错误。谁能帮帮我
解析 xml 未绑定前缀时出错
属性缺少 android 命名空间前缀
这是我的代码
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android="@+id/frontpagelayout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<Button
android:id="@+id/ushop"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginLeft="93dp"
android:layout_marginTop="38dp"
android:text="@string/ushop" />
【问题讨论】:
标签: xml parsing namespaces prefix