Space-Navigation-View icon indicating copy to clipboard operation
Space-Navigation-View copied to clipboard

setCentreButtonSelected() not working

Open Vasco39 opened this issue 8 years ago • 5 comments

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();`

Vasco39 avatar Nov 23 '17 19:11 Vasco39

I also have this problem

JacobKant avatar Jul 28 '18 10:07 JacobKant

I also have this problem

quensh93 avatar Dec 31 '18 09:12 quensh93

I also have this problem

dkgupta2501 avatar Jan 31 '19 10:01 dkgupta2501

I do have the same issue

creekorful avatar Jan 22 '20 07:01 creekorful

.postAtDelayed(() => {setCentreButtonSelected}, 300);

namhvcntt avatar Feb 08 '20 08:02 namhvcntt