setCentreButtonSelected() not working
I would like to select as initial button the center button, I've set the center button item with a custom color. When the app starts the center button is not actually highlighted, if I change fragment and than click back to the center button it highlights correctly. Can someone help me?
I'msetting the SpaceNavigationView in the MainActivity onCreate, here is my code:
`
spaceNavigationView.setCentreButtonRippleColor(ContextCompat.getColor(this, R.color.colorPrimary));
//Hide icon text
spaceNavigationView.showIconOnly();
//Center button selectable
spaceNavigationView.setCentreButtonSelectable(true);
spaceNavigationView.setCentreButtonSelected();`
I also have this problem
I also have this problem
I also have this problem
I do have the same issue
.postAtDelayed(() => {setCentreButtonSelected}, 300);