Giter Site home page Giter Site logo

Comments (9)

armcha avatar armcha commented on June 27, 2024

@fuadhamidan device model?

from space-navigation-view.

fuadhamidan avatar fuadhamidan commented on June 27, 2024

@armcha Nexus 5

from space-navigation-view.

armcha avatar armcha commented on June 27, 2024

@fuadhamidan will back to you

from space-navigation-view.

armcha avatar armcha commented on June 27, 2024

@fuadhamidan can you send me your setup part code? I can't find case, in my nexus 5 everything is ok

from space-navigation-view.

juanlabrador avatar juanlabrador commented on June 27, 2024

Same problem here!

    <com.luseen.spacenavigation.SpaceNavigationView
        android:id="@+id/bottom_navigation"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_gravity="bottom"
        app:active_item_color="@color/accent"
        app:centre_button_color="@color/accent"
        app:inactive_item_color="@color/white"
        app:space_background_color="@color/primary"
        app:space_item_icon_only_size="28dp" />
 mBottomNavigation.setCentreButtonIcon(R.mipmap.ic_camera);
        mBottomNavigation.addSpaceItem(new SpaceItem("HOME", R.mipmap.ic_home));
        mBottomNavigation.addSpaceItem(new SpaceItem("SEARCH", R.mipmap.ic_search));
        mBottomNavigation.addSpaceItem(new SpaceItem("NOTIFICATION", R.mipmap.ic_notification));
        mBottomNavigation.addSpaceItem(new SpaceItem("PROFILE", R.mipmap.ic_user));
        mBottomNavigation.showIconOnly();

        mBottomNavigation.setSpaceOnClickListener(new SpaceOnClickListener() {
            @Override
            public void onCentreButtonClick() {
                Log.d("onCentreButtonClick ", "onCentreButtonClick");
            }

            @Override
            public void onItemClick(int itemIndex, String itemName) {
                Log.d("onItemClick ", "" + itemIndex + " " + itemName);
            }

            @Override
            public void onItemReselected(int itemIndex, String itemName) {
                Log.d("onItemReselected ", "" + itemIndex + " " + itemName);
            }
        });

from space-navigation-view.

juanlabrador avatar juanlabrador commented on June 27, 2024

How change color to center icon?? thanks

from space-navigation-view.

fuadhamidan avatar fuadhamidan commented on June 27, 2024

@armcha I create new project using template Navigation Drawer Activity, whether it's affecting or not.

from space-navigation-view.

armcha avatar armcha commented on June 27, 2024

@fuadhamidan @juanlabrador Fixed, new version will ba available today

from space-navigation-view.

juanlabrador avatar juanlabrador commented on June 27, 2024

thanks

from space-navigation-view.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.