Koder1331
(Koder1331)
March 8, 2019, 5:41pm
#1
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 .
see here:-
Use fab…
Floating Action Button
1 Like
Robert
(rickastlee)
March 8, 2019, 6:29pm
#3
As @OfficialDjJohn said, use bottom navigation component and floating action button.
1 Like
Koder1331
(Koder1331)
March 8, 2019, 6:39pm
#4
I think you did’nt read my post completely here it is :-
1 Like
Boban
(Boban Stojmenovic)
March 8, 2019, 6:47pm
#5
And how do you calculate to get it in the center
/Boban
1 Like
Robert
(rickastlee)
March 8, 2019, 7:27pm
#6
I think you need a canvas with fill parent width and simply divide canvas1.with by 2 for right margin.
Fabio
(FábioESantos)
March 8, 2019, 9:12pm
#7
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.
5 Likes
Fabio
(FábioESantos)
March 8, 2019, 9:17pm
#9
Bingo! I almost got to the correct point!
4 Likes
hammerhai
(Nathan)
March 8, 2019, 10:48pm
#10
4 Likes
Koder1331
(Koder1331)
March 9, 2019, 10:59am
#11
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
2 Likes
yusufcihan
(Yusuf Cihan)
March 9, 2019, 11:24am
#12
Is it my topic? Yes, this is my topic
4 Likes
Boban
(Boban Stojmenovic)
March 9, 2019, 11:27am
#13
Damn, I didn’t even noticed that
/Boban
3 Likes
Silver
(Silver SY)
August 3, 2020, 10:22pm
#14