gpt4 book ai didi

java - 滑动面板android无法构建

转载 作者:行者123 更新时间:2023-12-02 10:34:10 25 4
gpt4 key购买 nike

我正在尝试创建一个向上滑动的面板我已经从 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 时出错:未绑定(bind)前缀我该如何解决这个问题?

最佳答案

您尚未将 android xml 命名空间添加到您的 SlidingUpPanelLayout 中。将其添加到您的 SlidingUpPanelLayout 中:

    xmlns:android="http://schemas.android.com/apk/res/android"

关于java - 滑动面板android无法构建,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53406540/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com