I tried to switch between LENGTH_LONG and _LENGHT_SHORT using below code:
int duration = Snackbar.LENGTH_SHORT;
Snackbar
.make(binding.coordinatorLayout, message, duration)
.show();
And then I time it in both scenarios. Both are about 3s which is the LENGTH_LONG duration.
Anyone knows why I cannot change the duration of the snackbar?