Skip to content

Androidkobe/DropDownMenu

Repository files navigation

DropDownMenu

A simple practical multiple condition filter drop down menu,drop down menu style can according to your project fully customization,the repositories just offer a simple framework,not PopupWindow implement,better experience,if you have any question or have new idea about this library,via issues or pull request this library,welcome star or fork!

##Feature

  • Fully customization, you can add any view or viewGroup,do you want do
  • Not PopupWindow implement, better experience effort

##Why create this library? First of all,this my first library for github,I read a lot awesome library in create this before,but not find i want effect,so i create this.

##ScreenShot

Download Demo

##Usage ####Step1 Add DropDownMenu in your xml

<com.yyy.djk.dropdownmenu.DropDownMenu
    android:id="@+id/dropDownMenu"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:ddmenuTextSize="13px"
    app:ddtextUnselectedColor="@color/drop_down_unselected"
    app:ddtextSelectedColor="@color/drop_down_selected"
    app:dddividerColor="@color/gray"
    app:ddunderlineColor="@color/gray"
    app:ddmenuSelectedIcon="@mipmap/drop_down_selected_icon"
    app:ddmaskColor="@color/mask_color"
    app:ddmenuBackgroundColor="@color/white"
    app:ddmenuUnselectedIcon="@mipmap/drop_down_unselected_icon"
    tools:context=".MainActivity"/>

####Step2 Now we just need invoke setDropDownMenu(),example below

mDropDownMenu.setDropDownMenu(Arrays.asList(headers), popupViews, contentView);

You can see Example

##About me A android developer, like android,like google,like open source,like doing any thing interesting

About

一个实用的多条件筛选菜单

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%