java - 上滑面板 android 构建失败
问题描述
我正在尝试创建一个向上滑动的面板,我已经从 nuget 下载了 umano 向上滑动面板。这是我的xml
<?xml version="1.0" encoding="utf-8"?><!--suppress ALL -->
<com.sothree.slidinguppanel.SlidingUpPanelLayout
xmlns:sothree="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="bottom"
android:gravity="bottom"
sothree:umanoPanelHeight="68dp"
sothree:umanoShadowHeight="4dp"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="main"/>
</com.sothree.slidinguppanel.SlidingUpPanelLayout>
我正在输入严重性代码描述项目文件行抑制状态解析 XML 时出错:未绑定前缀我该如何解决这个问题?
解决方案
您尚未将android
xml 命名空间添加到您的 SlidingUpPanelLayout。将此添加到您的 SlidingUpPanelLayout :
xmlns:android="http://schemas.android.com/apk/res/android"
推荐阅读
- eclipse - 从哪里可以下载 Eclipse 1.0 的源代码?
- mongodb - 如何为 mongotemplate 操作编写单元测试
- ruby - Ruby 使用 Proc 存储变量并在不同的函数中检索它们
- laravel - 如何在 Laravel 模型中禁用/覆盖 $with 属性
- amazon-web-services - Ansible:使用 ec2_instance 模块指定实例配置文件
- javascript - 如何在 useReduce 挂钩中发出异步服务器请求?
- java - Firefox 扩展无法安装 org.openqa.selenium.firefox.UnableToCreateProfileException: java.io.IOException
- node.js - Azure 表存储节点 JS 函数应用返回响应为空
- android - 您能否获取应用程序可用更新的列表(应用程序内更新)
- c# - 修复返回的 JSON 中的数组