You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
√ Component nativescript has 6.3.3 version and is up to date.
√ Component tns-core-modules has 6.3.2 version and is up to date.
√ Component tns-android has 6.3.1 version and is up to date.
I have a basic starter Nativescript - Angular project. I'm building the app for Android with tns run android. I'm testing on my Note 8 phone and an emulator too.
I don't know why but the Actionbar appears behind the Statusbar. When I'm running tns preview it appears as expected, Actionbar is below the Statusbar! When I'm testing a sample app in Android studio (without Nativescript and Angular) the actionbar appears as expected too.
I've tried a lot of version of template file
Only Actionbar in the template
Actionbar Wrapped into a Layout
Actionbar Wrapped into a FlexboxLayout and Page
Actionbar outside (above) of a Page and/or FlexboxLayout
To Reproduce
This is a huge Angular project I don't know how should anybody reproduce this issue.
Expected behavior
Actionbar's content appears below the statusbar, statusbar shouldn't cover it.
@csimpi remove the following line from App_Resources/Android/src/main/res/values/styles.xml and from App_Resources/Android/src/main/res/values-v21/styles.xml
Thank you! I just created a new native script project and overwrite the whole App_Resources folder with the new one and the issue has disappeared. It's still a question why the App Resources content was corrupted after the first installing? I was following the Angular migration document.
Environment
Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):√ Component nativescript has 6.3.3 version and is up to date.
√ Component tns-core-modules has 6.3.2 version and is up to date.
√ Component tns-android has 6.3.1 version and is up to date.
package.json
Describe the bug
I have a basic starter Nativescript - Angular project. I'm building the app for Android with tns run android. I'm testing on my Note 8 phone and an emulator too.
I don't know why but the Actionbar appears behind the Statusbar. When I'm running tns preview it appears as expected, Actionbar is below the Statusbar! When I'm testing a sample app in Android studio (without Nativescript and Angular) the actionbar appears as expected too.
I've tried a lot of version of template file
To Reproduce
This is a huge Angular project I don't know how should anybody reproduce this issue.
Expected behavior
Actionbar's content appears below the statusbar, statusbar shouldn't cover it.
Sample project
Here is the full code:
https://stackoverflow.com/questions/59802806/actionbar-is-behind-statusbar
Additional context
The text was updated successfully, but these errors were encountered: