一个Android多卡片菜单:MultiCardMenu

jopen 9年前
一个Android多卡片菜单,具有打开和关闭动画。 

Demo

Screenshot


Screenshot


Usage

   <net.wujingchao.android.view.MultiCardMenu          xmlns:simple="http://schemas.android.com/apk/res-auto"          android:id="@+id/multi_card_menu"          android:layout_width="match_parent"          android:layout_height="match_parent"          simple:background_layout="@layout/background_view"          simple:margin_top="50dp"          simple:fade="true"          simple:title_bar_height_display="20dp"          simple:title_bar_height_no_display="60dp"          simple:boundary="true"          simple:move_distance_to_trigger="30dip"          simple:animator_duration="300">                ....(Your ChildViews)       </net.wujingchao.android.view.MultiCardMenu>

Quick Start

Gradle:

compile 'net.wujingchao.android.view:multi-card-menu:0.9.3'

Maven:

<!-- you should configure jcenter repository-->  <dependency>      <groupId>net.wujingchao.android.view</groupId>      <artifactId>multi-card-menu</artifactId>      <version>0.9.3</version>      <type>aar</type>  </dependency>

项目主页:http://www.open-open.com/lib/view/home/1436094709294