All Projects → tosslife → Foldingtabbar.android

tosslife / Foldingtabbar.android

Licence: mit
[DEPRECATED] Folding Tabbar menu for Android. This is a menu library.You can easily add a nice animated tab menu to your app.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Foldingtabbar.android

buttons tabbar
A Flutter package that implements a TabBar where each label is a toggle button.
Stars: ✭ 49 (-89.92%)
Mutual labels:  tabbar
SwipeVC
Animated analog to UITabBarController, with cool interactive TabBar
Stars: ✭ 17 (-96.5%)
Mutual labels:  tabbar
Sotabbar
Light way to add Fancy bottom bar 📲
Stars: ✭ 400 (-17.7%)
Mutual labels:  tabbar
Flutter-Bottom-Tab-Bar
No description or website provided.
Stars: ✭ 72 (-85.19%)
Mutual labels:  tabbar
react-native-viewpager-indicator
修改自react-native-scrollable-tab-view,增加了根据文字内容适配下划线长度的功能。
Stars: ✭ 52 (-89.3%)
Mutual labels:  tabbar
FluidBottomNavigation-rn
Animated Tab Bar Component for React Native
Stars: ✭ 179 (-63.17%)
Mutual labels:  tabbar
MightyTabBar
How tab bars should work.
Stars: ✭ 72 (-85.19%)
Mutual labels:  tabbar
React Native Tab View
A cross-platform Tab View component for React Native
Stars: ✭ 4,742 (+875.72%)
Mutual labels:  tabbar
react-native-smartbar
Maybe this is the best tabbar , support android and ios !
Stars: ✭ 29 (-94.03%)
Mutual labels:  tabbar
Lctabbarcontroller
A amazing and highly customized tabBarController! You could almost customize 100% properties with LCTabBarController!
Stars: ✭ 384 (-20.99%)
Mutual labels:  tabbar
TabBarInteraction
A tab bar example that animate based on user interaction
Stars: ✭ 72 (-85.19%)
Mutual labels:  tabbar
react-native-curved-bottom-tabbar
Curved Bottom Tabbar React Native
Stars: ✭ 20 (-95.88%)
Mutual labels:  tabbar
KBCustomCenterTabbar
利用系统的tabbar定义类似于掌上生活的中间按钮凸起的tabbar, 实现起来简单, 代码简便,, 希望能帮到你
Stars: ✭ 42 (-91.36%)
Mutual labels:  tabbar
react-native-segment-controller
A react-native segment controller(Tab) for both ios and android.
Stars: ✭ 18 (-96.3%)
Mutual labels:  tabbar
Officialfoldingtabbar.android
Stars: ✭ 434 (-10.7%)
Mutual labels:  tabbar
TabBar
📱 TabBar – highly customizable tab bar for your SwiftUI application.
Stars: ✭ 105 (-78.4%)
Mutual labels:  tabbar
flutter appbar
根据动画写一个带背景图片的TabBar,TabBar分隔符,NestedScrollView+TabBar折叠头部
Stars: ✭ 50 (-89.71%)
Mutual labels:  tabbar
Estabbarcontroller
ESTabBarController is developed and maintained by Vincent Li. If you have any questions or issues in using ESTabBarController, welcome to issue. If you want to contribute to ESTabBarController, Please submit Pull Request, I will deal with it as soon as possible.
Stars: ✭ 4,649 (+856.58%)
Mutual labels:  tabbar
React Native Tabbar Interaction
Tabbar Component For React-Native
Stars: ✭ 457 (-5.97%)
Mutual labels:  tabbar
Foldingtabbar.ios
Folding Tab Bar and Tab Bar Controller
Stars: ✭ 3,677 (+656.58%)
Mutual labels:  tabbar

FoldingTabBar.Android

folding tabbar menu for Android. This is a menu library.You can easily add a nice animated tab menu to your app.

Inspired by this project on Dribbble

Simple Apk

Apk Download

Screenshot

screenshot

How to use (参考MainActivity)

Maven

        <dependency>
            <groupId>com.github.tosslife</groupId>
            <artifactId>foldingtabbar</artifactId>
            <version>1.0.0</version>
            <type>aar</type>
        </dependency>

Gradle

add in build.gradle:

        //Wait bintray audit ...
        compile 'com.github.tosslife:foldingtabbar:1.0.0'

Xml

After adding the gradle dependencies from above you can go to your xml layout and add the following code for a TabBarView:

         <com.srx.widget.TabBarView
            android:id="@+id/tabBarView"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_alignParentBottom="true" />

Java

To set some basic settings use the following java-code:

       //获取TabBarView
       TabBarView tabBarView = (TabBarView) findViewById(R.id.tabBarView);

       //设置主按钮图标
       tabBarView.setMainBitmap(R.drawable.icon_main);

       //设置菜单对应位置按钮图标及两侧图标
       tabBarView.bindBtnsForPage(0, R.drawable.icon_menu, R.drawable.icon_left, R.drawable.icon_right);

       //设置初始默认选中
       tabBarView.initializePage(0);

       //添加监听
        tabBarView.setOnTabBarClickListener(onTabBarClickListener);

       //监听回调
       private OnTabBarClickListener onTabBarClickListener = new OnTabBarClickListener() {

               @Override
               public void onMainBtnsClick(int position, int[] clickLocation) {
                    //点击菜单
               }

               @Override
               public void onMainBtnsClick(int position) {
                    //点击菜单
               }

               @Override
               public void onLeftBtnClick(int page) {
                    //点击对应菜单的左侧按钮
               }

               @Override
               public void onRightBtnClick(int page) {
                    //点击对应菜单的右侧按钮
               }

           };


       //
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].