I want to ask community members if someone knows whether this type of Bottom Navigation Bar can be made in Kodular or not.
because I tried making it with bottom navigation bar and fab component it works well and somehow looks like this but the problem is fab button does’nt stick to centre of the screen and if I set it’s margins according to my device it comes to centre but when I tested on another device fab’s position looks awkward .
Floating Action Button
As @OfficialDjJohn said, use bottom navigation component and floating action button.
I think you did’nt read my post completely here it is :-
And how do you calculate to get it in the center
I think you need a canvas with fill parent width and simply divide canvas1.with by 2 for right margin.
It won’t fit in the middle … to fit the middle we had to know the correct size of the FAB and then do (screen width + Fab size) / 2.
Bingo! I almost got to the correct point!
By calculating screen width and dividing it by 2, but I forgot to remove fab size from it, let me try your method and see how it works
Is it my topic? Yes, this is my topic
Damn, I didn’t even noticed that