Skip to content

DavidWangTM/DWPOP-UP

Repository files navigation

DWPOP-UP

Android 弹出框,类似淘宝菜单弹出框 如果有更多想法,联系我Q:232190315.

效果图

Installation

###important 重要的事情说三遍 一定要让外层view显示的情况下setAdapterView(View view). 一定要让外层view显示的情况下setAdapterView(View view). 一定要让外层view显示的情况下setAdapterView(View view). ###compile

compile 'com.facebook.rebound:rebound:0.3.8'

###Layout-XML

<tm.davidwang.dwpop_up.DWPOPView
        android:id="@+id/line1"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:background="#50000000"
        android:layout_below="@+id/top_lin"
        >

        </tm.davidwang.dwpop_up.DWPOPView>

Properties

setAdapterView(View view)

// @param qcTension tension as defined in the Quartz Composition
// @param qcFriction friction as defined in the Quartz Composition
setAdapterView(View view,double qcTension,double qcFriction)

//执行动画
showanimation()

//设置背景颜色
setDWBackgroundColor()

About

Android 弹出框,类似淘宝菜单弹出框

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages