I have a toolbar that currently looks like this
<ToolbarAndroid
title='WWF'
style={styles.toolbar}
navIcon={require("./App/assets/logo.png")}
logo={require("./App/assets/logo.png")}
actions={[{title: 'list', show: 'always'}, {title: 'partners', show: 'always'}, {title: 'about', show: 'always'}]}
onActionSelected={this.onActionSelected} />
Is it possible to change the size and position of the logo? Currently it sits with a margin on the left and I would like to make it sit on the left corner of the screen and possible make it wider.
Also is it possible to have two images next to each other as the logo?
Thanks
I don't think <ToolbarAndroid />
can be customized. You are probably better off doing your own component with <View />
to suit your needs, or take a look at the react-native-navbar library.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With