aurelhubert / ahbottomnavigation

A library to reproduce the behavior of the Bottom Navigation guidelines from Material Design.
3.84k stars 684 forks source link

Tabs are too close when only 2 items added #326

Open vitovalov opened 6 years ago

vitovalov commented 6 years ago

Hi, when I add only 2 items, the tabs are too close:

image

is it ~a bug~ or it's supposed to work like this? update: now I see you mention 3 to 5 in README.

I'm looking for a way that tabs span all available width even if we have only 2. Is that possible using this library?

cHAuHaNz commented 4 years ago

Hi @vitovalov, have you found any workaround with this? Facing the same problem.

cHAuHaNz commented 4 years ago

I've fixed it and created a pull request for op too.