Skip to main content
format
Source Link
Robert
  • 5.3k
  • 43
  • 67
  • 115

To remove animation or shift move create an bottomNavigationViewHelper class using bottomNavigationViewEX

package com.example.chitchat.utils;

import android.util.Log;

import com.ittianyu.bottomnavigationviewex.BottomNavigationViewEx;

public class BottomNavigationViewHelper { private static final String TAG = "bottomNavigationViewHel";

package com.example.chitchat.utils;
import android.util.Log;
import com.ittianyu.bottomnavigationviewex.BottomNavigationViewEx;

public class BottomNavigationViewHelper {
    private static final String TAG = "bottomNavigationViewHel";

    public static void setupBottomnavigationView(BottomNavigationViewEx bottomNavigationViewEx){
    {
        Log.d(TAG, "setupBottomnavigationView: setting up bottom navigation view");

        bottomNavigationViewEx.enableAnimation(false);
        bottomNavigationViewEx.enableShiftingMode(false);
        bottomNavigationViewEx.enableItemShiftingMode(false);
        bottomNavigationViewEx.setTextVisibility(false);
    }
}

}

To remove animation or shift move create an bottomNavigationViewHelper class using bottomNavigationViewEX

package com.example.chitchat.utils;

import android.util.Log;

import com.ittianyu.bottomnavigationviewex.BottomNavigationViewEx;

public class BottomNavigationViewHelper { private static final String TAG = "bottomNavigationViewHel";

public static void setupBottomnavigationView(BottomNavigationViewEx bottomNavigationViewEx){

    Log.d(TAG, "setupBottomnavigationView: setting up bottom navigation view");

    bottomNavigationViewEx.enableAnimation(false);
    bottomNavigationViewEx.enableShiftingMode(false);
    bottomNavigationViewEx.enableItemShiftingMode(false);
    bottomNavigationViewEx.setTextVisibility(false);

}

}

To remove animation or shift move create an bottomNavigationViewHelper class using bottomNavigationViewEX

package com.example.chitchat.utils;
import android.util.Log;
import com.ittianyu.bottomnavigationviewex.BottomNavigationViewEx;

public class BottomNavigationViewHelper {
    private static final String TAG = "bottomNavigationViewHel";

    public static void setupBottomnavigationView(BottomNavigationViewEx bottomNavigationViewEx)
    {
        Log.d(TAG, "setupBottomnavigationView: setting up bottom navigation view");

        bottomNavigationViewEx.enableAnimation(false);
        bottomNavigationViewEx.enableShiftingMode(false);
        bottomNavigationViewEx.enableItemShiftingMode(false);
        bottomNavigationViewEx.setTextVisibility(false);
    }
}
Source Link

To remove animation or shift move create an bottomNavigationViewHelper class using bottomNavigationViewEX

package com.example.chitchat.utils;

import android.util.Log;

import com.ittianyu.bottomnavigationviewex.BottomNavigationViewEx;

public class BottomNavigationViewHelper { private static final String TAG = "bottomNavigationViewHel";

public static void setupBottomnavigationView(BottomNavigationViewEx bottomNavigationViewEx){

    Log.d(TAG, "setupBottomnavigationView: setting up bottom navigation view");

    bottomNavigationViewEx.enableAnimation(false);
    bottomNavigationViewEx.enableShiftingMode(false);
    bottomNavigationViewEx.enableItemShiftingMode(false);
    bottomNavigationViewEx.setTextVisibility(false);

}

}