gpt4 book ai didi

android - 滑动开始时,向上滑动面板完全打开。

转载 作者:行者123 更新时间:2023-11-30 05:10:52 25 4
gpt4 key购买 nike

我正在使用 umano 向上滑动面板,我希望面板在向上滑动时逐渐打开。有没有办法做到这一点。

请在下面找到代码。

<com.sothree.slidinguppanel.SlidingUpPanelLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
app:umanoShadowHeight="0dp"
app:umanoOverlay="true"
app:umanoDragView="@id/nested_scroll"
android:id="@+id/slideup_panel"
app:umanoPanelHeight="300dp"
app:umanoScrollableView="@id/nested_scroll"
android:gravity="bottom">

<View
android:layout_width="match_parent"
android:layout_height="match_parent"/>

<android.support.v4.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clickable="true"
android:id="@+id/nested_scroll">

最佳答案

经过一些研究,您是否在样式中启用了 windowActionBarOverlay?

<style name="AppTheme">
<item name="android:windowActionBarOverlay">true</item>
</style>

我以前从未亲自使用过这个库,所以可能是错误的,但值得一试

编辑:您是否也在实现最新版本的库,因为看起来好像在其中使用滚动元素存在问题,导致了问题(引用:SlidingUpPanelLayout and ScrollView)

关于android - 滑动开始时,向上滑动面板完全打开。,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53779634/

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