JayFang1993 / Dropdownmenu
Licence: apache-2.0
DropDownMenu for Android,Filter the list based on multiple condition.
Stars: ✭ 815
Programming Languages
java
68154 projects - #9 most used programming language
Projects that are alternatives of or similar to Dropdownmenu
React Native Dropdown Picker
A single / multiple, categorizable & searchable item picker (dropdown) component for react native which supports both Android & iOS.
Stars: ✭ 230 (-71.78%)
Mutual labels: menu, dropdown
clicky-menus
Simple click-triggered navigation submenus. Accessible and progressively enhanced.
Stars: ✭ 76 (-90.67%)
Mutual labels: dropdown, menu
React Menu
React component for building accessible menu, dropdown, submenu, context menu and more.
Stars: ✭ 237 (-70.92%)
Mutual labels: menu, dropdown
Azdropdownmenu
A simple dropdown menu component for iPhone
Stars: ✭ 198 (-75.71%)
Mutual labels: menu, dropdown
React Dropdown Select
Customisable dropdown select for react
Stars: ✭ 227 (-72.15%)
Mutual labels: menu, dropdown
Yndropdownmenu
✨ Awesome Dropdown menu for iOS with Swift 5.0
Stars: ✭ 1,259 (+54.48%)
Mutual labels: menu, dropdown
Accordion
Silky-smooth accordion widgets with no external dependencies.
Stars: ✭ 32 (-96.07%)
Mutual labels: dropdown, menu
react-native-select-pro
React Native dropdown (select) component developed by Mobile Reality
Stars: ✭ 79 (-90.31%)
Mutual labels: dropdown, menu
Dopdropdownmenu Enhanced
DOPDropDownMenu 添加双列表 优化版 新增图片支持(double tableView, The optimization version ,new add image,detailText)
Stars: ✭ 1,757 (+115.58%)
Mutual labels: menu, dropdown
Vue Stripe Menu
Creating a navigation menu with animations like on Stripe
Stars: ✭ 266 (-67.36%)
Mutual labels: menu, dropdown
Bootstrap Dropdown Hover
Bootstrap based responsive mulltilevel dropdown navigation menu with fascinating animations
Stars: ✭ 115 (-85.89%)
Mutual labels: menu, dropdown
Custom Reactjs Dropdown Components
Custom dropdown components for ReactJS
Stars: ✭ 110 (-86.5%)
Mutual labels: menu, dropdown
Dropdownmenukit
UIKit drop down menu, simple yet flexible and written in Swift
Stars: ✭ 246 (-69.82%)
Mutual labels: menu, dropdown
Tippyjs
Tooltip, popover, dropdown, and menu library
Stars: ✭ 9,433 (+1057.42%)
Mutual labels: menu, dropdown
Igldropdownmenu
An iOS drop down menu with pretty animation and easy to customize.
Stars: ✭ 1,218 (+49.45%)
Mutual labels: menu, dropdown
ContextMenuSwift
A better version of iOS 13 Context Menu
Stars: ✭ 162 (-80.12%)
Mutual labels: dropdown, menu
react-native-panel
A Customizable React Native Panel for Android and iOS
Stars: ✭ 35 (-95.71%)
Mutual labels: dropdown, menu
DropDownMenu
DropDownMenu for Android,filter the list based on multiple condition.
To get this project into your build
Step 1. Add the specific repository to your build file:
repositories {
maven {
url "https://jitpack.io"
}
}
Step 2. Add the dependency in your build file (do not forget to specify the correct qualifier, usually 'aar'):
dependencies {
compile 'com.github.JayFang1993:DropDownMenu:v0.9'
}
That's it! Provided by:Android Arsenal
Usage
<com.jayfang.dropdownmenu.DropDownMenu
android:orientation="horizontal"
android:layout_width="fill_parent"
android:id="@+id/menu"
android:background="@color/white"
android:layout_height="60dp"/>
mMenu=(DropDownMenu)findViewById(R.id.menu);
mMenu.setMenuCount(3);//Menu的个数
mMenu.setShowCount(6);//Menu展开list数量太多是只显示的个数
mMenu.setShowCheck(true);//是否显示展开list的选中项
mMenu.setMenuTitleTextSize(16);//Menu的文字大小
mMenu.setMenuTitleTextColor(Color.WHITE);//Menu的文字颜色
mMenu.setMenuListTextSize(16);//Menu展开list的文字大小
mMenu.setMenuListTextColor(Color.BLACK);//Menu展开list的文字颜色
mMenu.setMenuBackColor(Color.GRAY);//Menu的背景颜色
mMenu.setMenuPressedBackColor(Color.WHITE);//Menu按下的背景颜色
mMenu.setCheckIcon(R.drawable.ico_make);//Menu展开list的勾选图片
mMenu.setUpArrow(R.drawable.arrow_up);//Menu默认状态的箭头
mMenu.setDownArrow(R.drawable.arrow_down);//Menu按下状态的箭头
mMenu.setDefaultMenuTitle(strings);//默认未选择任何过滤的Menu title
mMenu.setMenuSelectedListener(new OnMenuSelectedListener() {
@Override
//Menu展开的list点击事件 RowIndex:list的索引 ColumnIndex:menu的索引
public void onSelected(View listview, int RowIndex, int ColumnIndex) {
}
});
Update
2015.8.17
1.优化了onDraw里反复new对象的问题;
2.修改部分编码规范。
2015.7.22
mMenu.setShowDivider(false); //是否显示展开list的分割线
mMenu.setMenuListBackColor(getResources().getColor(R.color.white));//展开list的背景色
mMenu.setMenuListSelectorRes(R.color.white);//展开list的listselector
mMenu.setArrowMarginTitle(20);//Menu上箭头图标距title的margin
mMenu.setMenuPressedTitleTextColor(Color.BLACK);//Menu按下状态的title文字颜色
mMenu.setIsDebug(false);//关闭提醒
Contact
- Blog:https://fangjie.me/
- Email:[email protected]
- Twitter:@jayfang1993
- Weibo:@方杰
Remark
if you use this library,please tell me your App,thanks!
License
Copyright 2015 JayFang, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].