-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom title not centered on Android after upgrade to 4.0.1 #3207
Comments
This seems to be related to the Checking the link below, it seems now they have a react-navigation/react-navigation#4588 |
Was able to fix this by adding |
I'll keep this opened since it was an existent feature that is not working anymore and probably will be an easy to fix now that react-navigation provides an API for that. That's also possible using custom nav bars. |
Duplicate of #3153 |
Version
Tell us which versions you are using:
Expected behaviour
Title should be centered.
Actual behaviour
The title used to be centered before upgrading from 4.0.0-beta.27 to 4.0.1. Title aligns to the left, next to the back button. Using titleStyle that centers the component doesn't help. Removing the renderRightComponent view required for centering the title on Android didn't help either.
This is the style definition for the title component:
The text was updated successfully, but these errors were encountered: