Android 无高度向上滑动面板

Android 无高度向上滑动面板,android,android-layout,android-fragments,android-view,android-sliding,Android,Android Layout,Android Fragments,Android View,Android Sliding,我正在使用Umano团队的Android。 我的要求是垂直滑动到第二个视图, 没有“预览”面板上的第一个,基本上是一个 在拖动点(图像视图)上垂直滑动 问题是,除了向上和向下滑动外,我已经失去了渐进式的“拖动”效果 在(y轴上)拖动图像视图(在第一个视图上)时不会产生过渡 (我认为第一个视图截获了ontouch事件)。 你能给我一些继续进行的提示,或者建议其他的方法吗 这么做?我真的很喜欢图书馆,我觉得离目标很近。 忘了说我在视图寻呼机中=)。你找到了做你想做的事的方法吗?我有同样的要求,可惜没

我正在使用Umano团队的Android。 我的要求是垂直滑动到第二个视图, 没有“预览”面板上的第一个,基本上是一个 在拖动点(图像视图)上垂直滑动

问题是,除了向上和向下滑动外,我已经失去了渐进式的“拖动”效果 在(y轴上)拖动图像视图(在第一个视图上)时不会产生过渡 (我认为第一个视图截获了ontouch事件)。 你能给我一些继续进行的提示,或者建议其他的方法吗 这么做?我真的很喜欢图书馆,我觉得离目标很近。
忘了说我在视图寻呼机中=)。

你找到了做你想做的事的方法吗?我有同样的要求,可惜没有。为了这个要求,我放弃了这个图书馆。我仍在寻找替代方案。如果您不在水平视图寻呼机内,您可以考虑以下解决方案:我想我将使用手势检测(叹气)。如果你发现更简单的东西,请告诉我。你看过SlidingDrawer小部件了吗?它被弃用了,不是吗?是的,我刚看到它。。。那么,也许换成一个可视寻呼机?
<com.sothree.slidinguppanel.SlidingUpPanelLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:sothree="http://schemas.android.com/apk/res-auto"
    android:id="@+id/sliding_panel"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="bottom"
    sothree:panelHeight="0dp"
    sothree:shadowHeight="0dp" >

    <!------ First view ------>
    <RelativeLayout
        android:id="@+id/relative_first"
        android:layout_width="match_parent"
        android:layout_height="match_parent" >

        <!------ Bottom drag point ------>
        <ImageView
            android:id="@+id/drag_first_view"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerHorizontal="true"
            android:background="@drawable/ic_launcher"
            android:gravity="center|bottom" >
        </ImageView>

    </RelativeLayout>

    <!------ Second view ------>
    <RelativeLayout
        android:id="@+id/relative_second"
        android:layout_width="match_parent"
        android:layout_height="match_parent" >

        <!------ Top drag point ------>
        <ImageView
            android:id="@+id/drag_second_view"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerHorizontal="true"
            android:background="@drawable/ic_launcher"
            android:gravity="center|top" >
        </ImageView>

    </RelativeLayout>

</com.sothree.slidinguppanel.SlidingUpPanelLayout>
slidingUpPanelLayout.setPanelSlideListener(new SimplePanelSlideListener() {
    @Override
    public void onPanelCollapsed(View panel) {
        slidingUpPanelLayout.setDragView(dragFirstView);
    }

    @Override
    public void onPanelExpanded(View panel) {
        slidingUpPanelLayout.setDragView(dragSecondView);
    }

});