-
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
Double Line in Navigation Bar for nested StackedNavigation and Title does not center in 4.0.0 #2080
Comments
Hi, @abhaychitnis! I've experienced something similar. Have you tried to add Regarding the title not being centered, I think that this is expected by Material design guidelines, but you can always change it with the titleStyle: {
color: 'white',
fontWeight: 'bold',
alignSelf: 'center',
} |
The alignSelf did work ! Thanks ! However if I add hideNavBar to 'main' screen, it will hide the top line in the navigation bar. Which means I do not get the back functionality. So the issue remains open...... |
I see the same thing, but what i noticed when messing with their example is that is you send the navTransparent prop it fixes the problem and you can have the back button show without the navebar... however, I cant get the navTransparent prop to work outside their example js file..... not sure why |
That's good news, @abhaychitnis! To show the back button, maybe you could add the back prop to the OpenJobs scene... but I've never tried it. 😂 |
@Paloman If I add navTransparent instead of hideNavBar to 'main' screen, I do get both the title and back button on a single row. However now the screen looks like this !!!! |
@abhaychitnis, well... that's odd. If you try to touch where there should be the back button, does anything happen? Off the top of my head, I'd guess that:
|
Yup ! That worked. I updated the version to beta12. The screen now looks like,
|
Are you referring to the bottom Tab Bar ? Its a standard TabBar with
styling. Please check the code I have posted.
…On Fri, Jul 21, 2017 at 10:14 AM, paloman ***@***.***> wrote:
@abhaychitnis <https://github.com/abhaychitnis> jus out of curriosity
what did you use for the bottom bar?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2080 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AbTagNcPSG-0sW4S5qFh_QB1PsHrP7p-ks5sQCzGgaJpZM4OeZyo>
.
|
My Router.js code is as follows:
I having two problems in Screen tabMain
There are two lines for the Navigation Bar. The top one has the back button arrow and no styling and the second has the title with styling. I want the back button arrow and the title on a single line of Navigation Bar. I have tried all combinations, but am not able to make it happen.
The titles on the Navigation Base do not center, no matter what property I give ! Where am I going wrong ?
Following is image from the Android Emulator:
The text was updated successfully, but these errors were encountered: