Android 上使用library时xml使用自定义属性提示 error: Error parsing XML: unbound prefix
文章目录
刚刚在用Android-Bootstrap的时候遇到的
在xml里面引用命名空间
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:bootstrapbutton="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
xmlns:bootstrapbutton="http://schemas.android.com/apk/res-auto"
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论