Spacing between NavigationBar elements on Android #573
-
I'm having a real hard time getting the nav bar to look like I want. It seems the Please see the attached image for what I am trying to achieve (you should assume the gaps are the same i.e. the positioning is symmetrical). Am I missing something here? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, nice to hear from you. The I'm guessing your branding is a <NavigationBar>
<TitleBar style={{flex: 1, flexDirection: 'row', alignItems: 'center'}}>
<Branding style={{width: 200}}>
</TitleBar>
</NavigationBar> |
Beta Was this translation helpful? Give feedback.
Hi, nice to hear from you. The
NavigationBar
renders to the nativeToolbar
on Android so I think the spacing matches the material design specs. I'm not manually setting any spacing. Could you compare it to some native Android apps on your phone, like WhatsApp or Twitter, and see if there's a difference in spacing?I'm guessing your branding is a
TitleBar
. I use something like the following to center the title on the zoom sample