Skip navigation links
A B C D F G H I L M N O R S T U V 

A

addItem(BottomNavigationItem) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
Used to add a new tab.

B

BACKGROUND_STYLE_DEFAULT - Static variable in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
BACKGROUND_STYLE_RIPPLE - Static variable in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
BACKGROUND_STYLE_STATIC - Static variable in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
BottomNavBarFabBehaviour - Class in com.ashokvarma.bottomnavigation.behaviour
Class description
BottomNavBarFabBehaviour() - Constructor for class com.ashokvarma.bottomnavigation.behaviour.BottomNavBarFabBehaviour
 
BottomNavigationBar - Class in com.ashokvarma.bottomnavigation
Class description : This class is used to draw the layout and this acts like a bridge between library and app, all details can be modified via this class.
BottomNavigationBar(Context) - Constructor for class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
BottomNavigationBar(Context, AttributeSet) - Constructor for class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
BottomNavigationBar(Context, AttributeSet, int) - Constructor for class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
BottomNavigationBar(Context, AttributeSet, int, int) - Constructor for class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
BottomNavigationBar.OnTabSelectedListener - Interface in com.ashokvarma.bottomnavigation
Callback interface invoked when a tab's selection state changes.
BottomNavigationBar.SimpleOnTabSelectedListener - Class in com.ashokvarma.bottomnavigation
Simple implementation of the OnTabSelectedListener interface with stub implementations of each method.
BottomNavigationItem - Class in com.ashokvarma.bottomnavigation
Class description : Holds data for tabs (i.e data structure which holds all data to paint a tab)
BottomNavigationItem(int, String) - Constructor for class com.ashokvarma.bottomnavigation.BottomNavigationItem
 
BottomNavigationItem(Drawable, String) - Constructor for class com.ashokvarma.bottomnavigation.BottomNavigationItem
 
BottomNavigationItem(Drawable, int) - Constructor for class com.ashokvarma.bottomnavigation.BottomNavigationItem
 
BottomNavigationItem(int, int) - Constructor for class com.ashokvarma.bottomnavigation.BottomNavigationItem
 
BottomVerticalScrollBehavior<V extends android.view.View> - Class in com.ashokvarma.bottomnavigation.behaviour
Class description
BottomVerticalScrollBehavior() - Constructor for class com.ashokvarma.bottomnavigation.behaviour.BottomVerticalScrollBehavior
 

C

clearAll() - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
Clears all stored data and this helps to re-initialise tabs from scratch
com.ashokvarma.bottomnavigation - package com.ashokvarma.bottomnavigation
 
com.ashokvarma.bottomnavigation.behaviour - package com.ashokvarma.bottomnavigation.behaviour
 
com.ashokvarma.bottomnavigation.utils - package com.ashokvarma.bottomnavigation.utils
 

D

dp2px(Context, float) - Static method in class com.ashokvarma.bottomnavigation.utils.Utils
 

F

fetchContextColor(Context, int) - Static method in class com.ashokvarma.bottomnavigation.utils.Utils
This method can be extended to get all android attributes color, string, dimension ...etc

G

getActiveColor() - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
getAnimationDuration() - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
getBackgroundColor() - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
getConsumedScrollDirection() - Method in class com.ashokvarma.bottomnavigation.behaviour.VerticalScrollingBehavior
 
getCurrentSelectedPosition() - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
getInActiveColor() - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
getPreScrollDirection() - Method in class com.ashokvarma.bottomnavigation.behaviour.VerticalScrollingBehavior
 
getScreenWidth(Context) - Static method in class com.ashokvarma.bottomnavigation.utils.Utils
 
getScrollDirection() - Method in class com.ashokvarma.bottomnavigation.behaviour.VerticalScrollingBehavior
 

H

hide() - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
hide with animation
hide(boolean) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 

I

initialise() - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
This method should be called at the end of all customisation method.
isAutoHideEnabled() - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
isHidden() - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 

L

layoutDependsOn(CoordinatorLayout, FloatingActionButton, View) - Method in class com.ashokvarma.bottomnavigation.behaviour.BottomNavBarFabBehaviour
 
layoutDependsOn(CoordinatorLayout, V, View) - Method in class com.ashokvarma.bottomnavigation.behaviour.BottomVerticalScrollBehavior
 

M

MODE_DEFAULT - Static variable in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
MODE_FIXED - Static variable in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
MODE_FIXED_NO_TITLE - Static variable in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
MODE_SHIFTING - Static variable in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
MODE_SHIFTING_NO_TITLE - Static variable in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 

N

NO_COLOR - Static variable in class com.ashokvarma.bottomnavigation.utils.Utils
 

O

onDependentViewChanged(CoordinatorLayout, FloatingActionButton, View) - Method in class com.ashokvarma.bottomnavigation.behaviour.BottomNavBarFabBehaviour
 
onDependentViewChanged(CoordinatorLayout, V, View) - Method in class com.ashokvarma.bottomnavigation.behaviour.BottomVerticalScrollBehavior
 
onDependentViewRemoved(CoordinatorLayout, FloatingActionButton, View) - Method in class com.ashokvarma.bottomnavigation.behaviour.BottomNavBarFabBehaviour
 
onLayoutChild(CoordinatorLayout, FloatingActionButton, int) - Method in class com.ashokvarma.bottomnavigation.behaviour.BottomNavBarFabBehaviour
 
onLayoutChild(CoordinatorLayout, V, int) - Method in class com.ashokvarma.bottomnavigation.behaviour.BottomVerticalScrollBehavior
 
onNestedDirectionFling(CoordinatorLayout, V, View, float, float, boolean, int) - Method in class com.ashokvarma.bottomnavigation.behaviour.BottomVerticalScrollBehavior
 
onNestedDirectionFling(CoordinatorLayout, V, View, float, float, boolean, int) - Method in class com.ashokvarma.bottomnavigation.behaviour.VerticalScrollingBehavior
 
onNestedFling(CoordinatorLayout, V, View, float, float, boolean) - Method in class com.ashokvarma.bottomnavigation.behaviour.VerticalScrollingBehavior
 
onNestedPreScroll(CoordinatorLayout, V, View, int, int, int[]) - Method in class com.ashokvarma.bottomnavigation.behaviour.VerticalScrollingBehavior
 
onNestedScroll(CoordinatorLayout, V, View, int, int, int, int) - Method in class com.ashokvarma.bottomnavigation.behaviour.VerticalScrollingBehavior
 
onNestedVerticalPreScroll(CoordinatorLayout, V, View, int, int, int[], int) - Method in class com.ashokvarma.bottomnavigation.behaviour.BottomVerticalScrollBehavior
 
onNestedVerticalPreScroll(CoordinatorLayout, V, View, int, int, int[], int) - Method in class com.ashokvarma.bottomnavigation.behaviour.VerticalScrollingBehavior
 
onNestedVerticalScrollConsumed(CoordinatorLayout, V, int, int, int) - Method in class com.ashokvarma.bottomnavigation.behaviour.BottomVerticalScrollBehavior
 
onNestedVerticalScrollConsumed(CoordinatorLayout, V, int, int, int) - Method in class com.ashokvarma.bottomnavigation.behaviour.VerticalScrollingBehavior
 
onNestedVerticalScrollUnconsumed(CoordinatorLayout, V, int, int, int) - Method in class com.ashokvarma.bottomnavigation.behaviour.BottomVerticalScrollBehavior
 
onNestedVerticalScrollUnconsumed(CoordinatorLayout, V, int, int, int) - Method in class com.ashokvarma.bottomnavigation.behaviour.VerticalScrollingBehavior
 
onStartNestedScroll(CoordinatorLayout, V, View, View, int) - Method in class com.ashokvarma.bottomnavigation.behaviour.VerticalScrollingBehavior
 
onTabReselected(int) - Method in interface com.ashokvarma.bottomnavigation.BottomNavigationBar.OnTabSelectedListener
Called when a tab that is already selected is chosen again by the user.
onTabReselected(int) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar.SimpleOnTabSelectedListener
 
onTabSelected(int) - Method in interface com.ashokvarma.bottomnavigation.BottomNavigationBar.OnTabSelectedListener
Called when a tab enters the selected state.
onTabSelected(int) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar.SimpleOnTabSelectedListener
 
onTabUnselected(int) - Method in interface com.ashokvarma.bottomnavigation.BottomNavigationBar.OnTabSelectedListener
Called when a tab exits the selected state.
onTabUnselected(int) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar.SimpleOnTabSelectedListener
 

R

removeItem(BottomNavigationItem) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
Used to remove a tab.

S

SCROLL_DIRECTION_DOWN - Static variable in annotation type com.ashokvarma.bottomnavigation.behaviour.VerticalScrollingBehavior.ScrollDirection
 
SCROLL_DIRECTION_UP - Static variable in annotation type com.ashokvarma.bottomnavigation.behaviour.VerticalScrollingBehavior.ScrollDirection
 
SCROLL_NONE - Static variable in annotation type com.ashokvarma.bottomnavigation.behaviour.VerticalScrollingBehavior.ScrollDirection
 
selectTab(int) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
Should be called only after initialization of BottomBar(i.e after calling initialize method)
selectTab(int, boolean) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
Should be called only after initialization of BottomBar(i.e after calling initialize method)
setActiveColor(int) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
setActiveColor(String) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
setActiveColor(String) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationItem
 
setActiveColor(int) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationItem
 
setActiveColorResource(int) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationItem
 
setAnimationDuration(int) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
ripple animation will be 2.5 times this animation duration.
setAutoHideEnabled(boolean) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
setBackgroundColor(String) - Method in class com.ashokvarma.bottomnavigation.TextBadgeItem
 
setBackgroundColor(int) - Method in class com.ashokvarma.bottomnavigation.TextBadgeItem
 
setBackgroundColorResource(int) - Method in class com.ashokvarma.bottomnavigation.TextBadgeItem
 
setBackgroundStyle(int) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
setBadgeItem(ShapeBadgeItem) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationItem
 
setBadgeItem(TextBadgeItem) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationItem
 
setBarBackgroundColor(int) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
setBarBackgroundColor(String) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
setBorderColor(String) - Method in class com.ashokvarma.bottomnavigation.TextBadgeItem
 
setBorderColor(int) - Method in class com.ashokvarma.bottomnavigation.TextBadgeItem
 
setBorderColorResource(int) - Method in class com.ashokvarma.bottomnavigation.TextBadgeItem
 
setBorderWidth(int) - Method in class com.ashokvarma.bottomnavigation.TextBadgeItem
 
setCornerRadius(int) - Method in class com.ashokvarma.bottomnavigation.TextBadgeItem
 
setEdgeMarginInDp(Context, int) - Method in class com.ashokvarma.bottomnavigation.ShapeBadgeItem
 
setEdgeMarginInPixels(int) - Method in class com.ashokvarma.bottomnavigation.ShapeBadgeItem
 
setFab(FloatingActionButton) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
setFirstSelectedPosition(int) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
setInActiveColor(int) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
setInActiveColor(String) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
setInActiveColor(String) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationItem
 
setInActiveColor(int) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationItem
 
setInActiveColorResource(int) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationItem
 
setInactiveIcon(Drawable) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationItem
By default library will switch the color of icon provided (in between active and in-active icons) This method is used, if people need to set different icons for active and in-active modes.
setInactiveIconResource(int) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationItem
By default library will switch the color of icon provided (in between active and in-active icons) This method is used, if people need to set different icons for active and in-active modes.
setMode(int) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
setShape(int) - Method in class com.ashokvarma.bottomnavigation.ShapeBadgeItem
 
setShapeColor(String) - Method in class com.ashokvarma.bottomnavigation.ShapeBadgeItem
 
setShapeColor(int) - Method in class com.ashokvarma.bottomnavigation.ShapeBadgeItem
 
setShapeColorResource(int) - Method in class com.ashokvarma.bottomnavigation.ShapeBadgeItem
 
setSizeInDp(Context, int, int) - Method in class com.ashokvarma.bottomnavigation.ShapeBadgeItem
 
setSizeInPixels(int, int) - Method in class com.ashokvarma.bottomnavigation.ShapeBadgeItem
 
setTabSelectedListener(BottomNavigationBar.OnTabSelectedListener) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
setText(CharSequence) - Method in class com.ashokvarma.bottomnavigation.TextBadgeItem
 
setTextColor(String) - Method in class com.ashokvarma.bottomnavigation.TextBadgeItem
 
setTextColor(int) - Method in class com.ashokvarma.bottomnavigation.TextBadgeItem
 
setTextColorResource(int) - Method in class com.ashokvarma.bottomnavigation.TextBadgeItem
 
SHAPE_HEART - Static variable in class com.ashokvarma.bottomnavigation.ShapeBadgeItem
 
SHAPE_OVAL - Static variable in class com.ashokvarma.bottomnavigation.ShapeBadgeItem
 
SHAPE_RECTANGLE - Static variable in class com.ashokvarma.bottomnavigation.ShapeBadgeItem
 
SHAPE_STAR_3_VERTICES - Static variable in class com.ashokvarma.bottomnavigation.ShapeBadgeItem
 
SHAPE_STAR_4_VERTICES - Static variable in class com.ashokvarma.bottomnavigation.ShapeBadgeItem
 
SHAPE_STAR_5_VERTICES - Static variable in class com.ashokvarma.bottomnavigation.ShapeBadgeItem
 
SHAPE_STAR_6_VERTICES - Static variable in class com.ashokvarma.bottomnavigation.ShapeBadgeItem
 
ShapeBadgeItem - Class in com.ashokvarma.bottomnavigation
Class description
ShapeBadgeItem() - Constructor for class com.ashokvarma.bottomnavigation.ShapeBadgeItem
 
show() - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
show with animation
show(boolean) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
 
SimpleOnTabSelectedListener() - Constructor for class com.ashokvarma.bottomnavigation.BottomNavigationBar.SimpleOnTabSelectedListener
 

T

TextBadgeItem - Class in com.ashokvarma.bottomnavigation
Class description
TextBadgeItem() - Constructor for class com.ashokvarma.bottomnavigation.TextBadgeItem
 
toggle() - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
show BottomNavigationBar if it is hidden and hide if it is shown
toggle(boolean) - Method in class com.ashokvarma.bottomnavigation.BottomNavigationBar
show BottomNavigationBar if it is hidden and hide if it is shown

U

Utils - Class in com.ashokvarma.bottomnavigation.utils
Class description : These are common utils and can be used for other projects as well

V

VerticalScrollingBehavior<V extends android.view.View> - Class in com.ashokvarma.bottomnavigation.behaviour
Class description
VerticalScrollingBehavior(Context, AttributeSet) - Constructor for class com.ashokvarma.bottomnavigation.behaviour.VerticalScrollingBehavior
 
VerticalScrollingBehavior() - Constructor for class com.ashokvarma.bottomnavigation.behaviour.VerticalScrollingBehavior
 
VerticalScrollingBehavior.ScrollDirection - Annotation Type in com.ashokvarma.bottomnavigation.behaviour
 
A B C D F G H I L M N O R S T U V 
Skip navigation links