All Projects → fccaikai → Bottommenututorial

fccaikai / Bottommenututorial

Android bottom dialog

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Bottommenututorial

Xpopup
🔥XPopup2.0版本重磅来袭,2倍以上性能提升,带来可观的动画性能优化和交互细节的提升!!!功能强大,交互优雅,动画丝滑的通用弹窗!可以替代Dialog,PopupWindow,PopupMenu,BottomSheet,DrawerLayout,Spinner等组件,自带十几种效果良好的动画, 支持完全的UI和动画自定义!(Powerful and Beautiful Popup for Android,can absolutely replace Dialog,PopupWindow,PopupMenu,BottomSheet,DrawerLayout,Spinner. With built-in animators , very easy to custom popup v…
Stars: ✭ 6,106 (+3646.01%)
Mutual labels:  bottomsheet
React Native Bottomsheet Reanimated
React Native bottom sheet with fully native 60 FPS animations and awesome user experience
Stars: ✭ 80 (-50.92%)
Mutual labels:  bottomsheet
React Swipeable Bottom Sheet
A swipeable material's bottom sheet implementation, using react-swipeable-views
Stars: ✭ 106 (-34.97%)
Mutual labels:  bottomsheet
Anylayer
Android稳定高效的浮层创建管理框架
Stars: ✭ 745 (+357.06%)
Mutual labels:  bottomsheet
Tc Material Design
Série de artigos sobre o Material Design Android
Stars: ✭ 64 (-60.74%)
Mutual labels:  bottomsheet
Fluentappbar
Fluent App Bar: An Android bottom-sheet-based navigation bar based on Microsoft's Fluent Design System
Stars: ✭ 88 (-46.01%)
Mutual labels:  bottomsheet
Sheets
⭐ ‎‎‎‏‏‎ ‎Offers a range of beautiful sheets (dialogs & bottom sheets) for quick use in your project. Includes many ways to customize sheets.
Stars: ✭ 441 (+170.55%)
Mutual labels:  bottomsheet
React Native Bottom Sheet
A performant interactive bottom sheet with fully configurable options 🚀
Stars: ✭ 2,695 (+1553.37%)
Mutual labels:  bottomsheet
React Native Scroll Bottom Sheet
Cross platform scrollable bottom sheet with virtualisation support, native animations at 60 FPS and fully implemented in JS land 🔥
Stars: ✭ 1,226 (+652.15%)
Mutual labels:  bottomsheet
React Native Draggable View
DraggableView is a component for react-native, it allows you have a vertical draggable drawer view that you can drag up or drag down. So, if you drag and release that component, then it keeps moving until reach either initial position or container border.
Stars: ✭ 103 (-36.81%)
Mutual labels:  bottomsheet
Overlaycontainer
Non-intrusive iOS UI library to implement overlay based interfaces
Stars: ✭ 777 (+376.69%)
Mutual labels:  bottomsheet
React Native Bottom Sheet Behavior
react-native wrapper for android BottomSheetBehavior
Stars: ✭ 1,068 (+555.21%)
Mutual labels:  bottomsheet
Xam.plugin.simplebottomdrawer
Just a nice and simple BottomDrawer for your Xamarin Forms project
Stars: ✭ 92 (-43.56%)
Mutual labels:  bottomsheet
Hwpanmodal
HWPanModal presents controller from bottom and drag to dismiss, high customize. iOS13 default modalPresentationStyle. 任意形式的底部弹框动画;头条、知乎、抖音弹出评论效果;地图浮层,iOS13 present默认模态效果。
Stars: ✭ 713 (+337.42%)
Mutual labels:  bottomsheet
Bottomsheet
Custom modal presentation style for thumb-friendly interactive views
Stars: ✭ 110 (-32.52%)
Mutual labels:  bottomsheet
Superbottomsheet
Android native BottomSheet on steroids 💪
Stars: ✭ 548 (+236.2%)
Mutual labels:  bottomsheet
Stickytabbarviewcontroller
Sticky and Collapsible View on top of tab bar
Stars: ✭ 82 (-49.69%)
Mutual labels:  bottomsheet
Sheetmenu
Library for speedy implementation menu with BottomSheet
Stars: ✭ 121 (-25.77%)
Mutual labels:  bottomsheet
Bottomsheet
Component which presents a dismissible view from the bottom of the screen.
Stars: ✭ 113 (-30.67%)
Mutual labels:  bottomsheet
Bottomify Navigation View
A nice looking Spotify like bottom navigation view
Stars: ✭ 97 (-40.49%)
Mutual labels:  bottomsheet

API

ScreenShots

SetUp

Gradle

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
	...
		maven { url 'https://jitpack.io' }
	}
}
Step 2. Add the dependency
dependencies {
	compile 'com.github.fccaikai:BottomMenuTutorial:1.1.0'
}

Maven

Step 1. Add the JitPack repository to your build file
<repositories>
	<repository>
		<id>jitpack.io</id>
		<url>https://jitpack.io</url>
	</repository>
</repositories>
Step 2. Add the dependency

<dependency>
	<groupId>com.github.fccaikai</groupId>
	<artifactId>BottomMenuTutorial</artifactId>
	<version>1.0.2</version>
</dependency>

Usage

Defalut

BottomDialog dialog = BottomDialog.newInstance("title",new String[]{"item1","item2"});
/**
*
* BottomDialog dialog = BottomDialog.newInstance("titleText","cancelText",new String[]{"item1","item2"});
*
* use public static BottomDialog newInstance(String titleText,String cancelText, String[] items)
* set cancel text
*/
dialog.show(getChildFragmentManager(),"dialog");
    //add item click listener
    dialog.setListener(new BottomDialog.OnClickListener() {
        @Override
        public void click(int position) {
            Toast.makeText(getContext(), "" + position, Toast.LENGTH_LONG).show();
        }
 });

Custom

custom dialog text size & color if need. in your app corlor.xml define :

    <color name="bottom_lib_dialog_item_text_color">your dialog item color</color>
    <color name="bottom_lib_dialog_title_text_color">your dialog title color</color>
    <color name="bottom_lib_dialog_cancel_text_color">your dialog cancel color1</color>

dimen.xml define:

    <dimen name="bottom_lib_dialog_item_text">your dialog item text size,default 16sp</dimen>
    <dimen name="bottom_lib_dialog_title_text">your dialog title text title,default 18sp</dimen>
    <dimen name="bottom_lib_dialog_cancel_text">your dialog title cancel title,default 18sp</dimen>

custom dialog padding:

<dimen name="bottom_lib_dialog_padding_top">12dp</dimen>
    <dimen name="bottom_lib_dialog_padding_bottom">12dp</dimen>
    <dimen name="bottom_lib_dialog_padding_left">12dp</dimen>
    <dimen name="bottom_lib_dialog_padding_right">12dp</dimen>
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].