Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Gaurav aboutgaurav

🎯
Focusing
View GitHub Profile
@aboutgaurav
aboutgaurav / BottomNavigationViewHelper.java
Created Nov 4, 2017
Disable android 'BottomNavigationView' shift mode.
View BottomNavigationViewHelper.java
import android.support.design.internal.BottomNavigationItemView;
import android.support.design.internal.BottomNavigationMenuView;
import android.support.design.widget.BottomNavigationView;
import android.util.Log;
import java.lang.reflect.Field;
/**
* Helper class to get rid of "Shift Mode" from BottomNavigationView
*/