NavigationTabBar
NavigationTabBar copied to clipboard
Navigation tab bar with colorful interactions.
My Code : ArrayList models = new ArrayList(); final String[] colors = mFloatingView.getResources().getStringArray(R.array.vertical_ntb); models.add(new NavigationTabBar.Model.Builder(AppCompatResources.getDrawable(mFloatingView.getContext(), R.drawable.vector_player), Color.parseColor(colors[0])).title("Player").build()); models.add(new NavigationTabBar.Model.Builder(AppCompatResources.getDrawable(mFloatingView.getContext(), R.drawable.vector_item), Color.parseColor(colors[1])).title("Items").build()); models.add(new NavigationTabBar.Model.Builder(AppCompatResources.getDrawable(mFloatingView.getContext(), R.drawable.vector_vehicle), Color.parseColor(colors[2])).title("Vehicles").build()); models.add(new NavigationTabBar.Model.Builder(AppCompatResources.getDrawable(mFloatingView.getContext(), R.drawable.vector_injector), Color.parseColor(colors[4])).title("Injector").build()); models.add(new...
I want to disable this nav, but i use navBar.setEnabled(false) not working, how can i disable this nav?
I want different colors for different icons. Is there a way?
Incompatibility with CoordinatorLayout which already defines layout_anchorGravity in newer versions.
tab.kt code : ``` models.add( NavigationTabBar.Model.Builder( ContextCompat.getDrawable(this, R.drawable.and_general_bottom_bar_home_normal_bt), ContextCompat.getColor(this, R.color.white)) .selectedIcon(ContextCompat.getDrawable(this, R.drawable.and_general_bottom_bar_home_active_bt)) .build() ) models.add( NavigationTabBar.Model.Builder( ContextCompat.getDrawable(this, R.drawable.and_general_bottom_bar_list_normal_bt), ContextCompat.getColor(this, R.color.white)) .selectedIcon(ContextCompat.getDrawable(this, R.drawable.and_general_bottom_bar_list_active_bt)) .build() ) ``` and xml code : ```...
when i focus the tab button,and click the tab button twice will cause this bug,why?
Does this navigation support sliding, such as 5 menu items on the side. Only show four, the other can be displayed by sliding
As of right now there are problems with working with this library with AndroidX. I suggest migrating to AndroidX namespace.