René's URL Explorer Experiment


Title: Fix actionbar insets by vardhan30016 · Pull Request #10960 · NativeScript/NativeScript · GitHub

Open Graph Title: Fix actionbar insets by vardhan30016 · Pull Request #10960 · NativeScript/NativeScript

X Title: Fix actionbar insets by vardhan30016 · Pull Request #10960 · NativeScript/NativeScript

Description: PR Checklist The PR title follows the commit guidelines. There is an issue for the bug this PR is fixing (#10856). I have signed the CLA. All existing tests are passing. Tests for the changes can be added if required. What is the current behavior? On newer Android versions (API 29+), especially Android 14–16 (edge-to-edge navigation), the ActionBar is rendered under the status bar. This causes the ActionBar title, menu items, and navigation button to overlap with the system status bar. This is due to Toolbar not applying WindowInsets top padding on newer Android layouts. Related issue: #10856 What is the new behavior? During createNativeView() on Android: The Toolbar now enables setFitsSystemWindows(true) for correct inset handling. A OnApplyWindowInsetsListener is attached to read the top system inset. The inset value is applied as top padding to the ActionBar. Logic is wrapped in try/catch for safety and backward compatibility. This ensures the ActionBar is correctly positioned below the status bar on all Android versions. Fixes #10856. BREAKING CHANGES None. This patch does not modify public APIs or change behavior for older Android versions. It only resolves layout misalignment under edge-to-edge mode on Android 10+.

Open Graph Description: PR Checklist The PR title follows the commit guidelines. There is an issue for the bug this PR is fixing (#10856). I have signed the CLA. All existing tests are passing. Tests for the changes...

X Description: PR Checklist The PR title follows the commit guidelines. There is an issue for the bug this PR is fixing (#10856). I have signed the CLA. All existing tests are passing. Tests for the changes...

Opengraph URL: https://github.com/NativeScript/NativeScript/pull/10960

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:6a2d6685-2e6d-3e9d-6ed3-40b5e8afb092
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8DD8:34DEC:19C06A6:24018DC:6970DD8B
html-safe-noncec44cb5b49a582088bb4b22cdf5003ad8c0d32d4b619c11a41e4267acd1b32a9e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REQ4OjM0REVDOjE5QzA2QTY6MjQwMThEQzo2OTcwREQ4QiIsInZpc2l0b3JfaWQiOiI2OTY3NTM4NTg0OTI3NjU3MzU1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac7e82ae2b148e00b272076a9796a8d969c6e4e5237d11a01ee025bfaed546fcae
hovercard-subject-tagpull_request:3038487904
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/NativeScript/NativeScript/pull/10960/files
twitter:imagehttps://avatars.githubusercontent.com/u/221947958?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/221947958?s=400&v=4
og:image:altPR Checklist The PR title follows the commit guidelines. There is an issue for the bug this PR is fixing (#10856). I have signed the CLA. All existing tests are passing. Tests for the changes...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9203e7efc62065329c3b7015a1e6d16fc14bce440abec7b0d3cbe9e4fb1e2e4
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id31492490
octolytics-dimension-repository_nwoNativeScript/NativeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31492490
octolytics-dimension-repository_network_root_nwoNativeScript/NativeScript
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseeb3c92b74ae48a78cffd8700b8eb5f60bad61528
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fpull%2F10960%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fpull%2F10960%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=NativeScript%2FNativeScript
Reloadhttps://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/files
Reloadhttps://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/files
Reloadhttps://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/files
NativeScript https://patch-diff.githubusercontent.com/NativeScript
NativeScripthttps://patch-diff.githubusercontent.com/NativeScript/NativeScript
Please reload this pagehttps://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/files
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FNativeScript%2FNativeScript
Fork 1.7k https://patch-diff.githubusercontent.com/login?return_to=%2FNativeScript%2FNativeScript
Star 25.4k https://patch-diff.githubusercontent.com/login?return_to=%2FNativeScript%2FNativeScript
Code https://patch-diff.githubusercontent.com/NativeScript/NativeScript
Issues 869 https://patch-diff.githubusercontent.com/NativeScript/NativeScript/issues
Pull requests 59 https://patch-diff.githubusercontent.com/NativeScript/NativeScript/pulls
Discussions https://patch-diff.githubusercontent.com/NativeScript/NativeScript/discussions
Actions https://patch-diff.githubusercontent.com/NativeScript/NativeScript/actions
Projects 0 https://patch-diff.githubusercontent.com/NativeScript/NativeScript/projects
Wiki https://patch-diff.githubusercontent.com/NativeScript/NativeScript/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/NativeScript/NativeScript/security
Please reload this pagehttps://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/files
Insights https://patch-diff.githubusercontent.com/NativeScript/NativeScript/pulse
Code https://patch-diff.githubusercontent.com/NativeScript/NativeScript
Issues https://patch-diff.githubusercontent.com/NativeScript/NativeScript/issues
Pull requests https://patch-diff.githubusercontent.com/NativeScript/NativeScript/pulls
Discussions https://patch-diff.githubusercontent.com/NativeScript/NativeScript/discussions
Actions https://patch-diff.githubusercontent.com/NativeScript/NativeScript/actions
Projects https://patch-diff.githubusercontent.com/NativeScript/NativeScript/projects
Wiki https://patch-diff.githubusercontent.com/NativeScript/NativeScript/wiki
Security https://patch-diff.githubusercontent.com/NativeScript/NativeScript/security
Insights https://patch-diff.githubusercontent.com/NativeScript/NativeScript/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2FNativeScript%2FNativeScript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2FNativeScript%2FNativeScript%2Fissues%2Fnew%2Fchoose
vardhan30016https://patch-diff.githubusercontent.com/vardhan30016
NativeScript:mainhttps://patch-diff.githubusercontent.com/NativeScript/NativeScript/tree/main
vardhan30016:fix-actionbar-insetshttps://patch-diff.githubusercontent.com/vardhan30016/NativeScript/tree/fix-actionbar-insets
Conversation 2 https://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960
Commits 2 https://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/commits
Checks 0 https://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/checks
Files changed 2 https://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/files
Fix actionbar insets https://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/files#top
Show all changes 2 commits https://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/files
f29507f fix(navigation): forward NavigationEntry.context to page and bindingC… vardhan30016 Nov 24, 2025 https://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/commits/f29507f4a443aac01b4390572a1d5c419e4021e0
bdc3d57 fix(android-actionbar): apply WindowInsets padding to prevent ActionB… vardhan30016 Nov 24, 2025 https://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/commits/bdc3d57e03ecb98372644a8394f327f89b35cb09
Clear filters https://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/files
Please reload this pagehttps://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/files
Please reload this pagehttps://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/files
index.android.ts https://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/files#diff-bcdbd45f3c4405c714710636507295bf648f6d70aa93af14bb9a28d9f56fd3b8
frame-common.ts https://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/files#diff-b6c28c76dc54a2ecbf53229d19bcd804d8ffbecc67ad7d320ad27f4faf42ab47
packages/core/ui/action-bar/index.android.tshttps://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/files#diff-bcdbd45f3c4405c714710636507295bf648f6d70aa93af14bb9a28d9f56fd3b8
View file https://patch-diff.githubusercontent.com/NativeScript/NativeScript/blob/bdc3d57e03ecb98372644a8394f327f89b35cb09/packages/core/ui/action-bar/index.android.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/files#diff-bcdbd45f3c4405c714710636507295bf648f6d70aa93af14bb9a28d9f56fd3b8
https://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/files#diff-bcdbd45f3c4405c714710636507295bf648f6d70aa93af14bb9a28d9f56fd3b8
packages/core/ui/frame/frame-common.tshttps://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/files#diff-b6c28c76dc54a2ecbf53229d19bcd804d8ffbecc67ad7d320ad27f4faf42ab47
View file https://patch-diff.githubusercontent.com/NativeScript/NativeScript/blob/bdc3d57e03ecb98372644a8394f327f89b35cb09/packages/core/ui/frame/frame-common.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/files#diff-b6c28c76dc54a2ecbf53229d19bcd804d8ffbecc67ad7d320ad27f4faf42ab47
https://patch-diff.githubusercontent.com/NativeScript/NativeScript/pull/10960/files#diff-b6c28c76dc54a2ecbf53229d19bcd804d8ffbecc67ad7d320ad27f4faf42ab47
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.