-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fix positioning of toolbar in reader detail #21719
base: trunk
Are you sure you want to change the base?
Conversation
…sewhere (specifically, ReaderPostDetailFragment)
Generated by 🚫 Danger |
|
App Name | ![]() |
|
Flavor | Jalapeno | |
Build Type | Debug | |
Version | pr21719-0a42f54 | |
Commit | 0a42f54 | |
Direct Download | jetpack-prototype-build-pr21719-0a42f54.apk |
|
App Name | ![]() |
|
Flavor | Jalapeno | |
Build Type | Debug | |
Version | pr21719-0a42f54 | |
Commit | 0a42f54 | |
Direct Download | wordpress-prototype-build-pr21719-0a42f54.apk |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## trunk #21719 +/- ##
=======================================
Coverage 39.41% 39.41%
=======================================
Files 2122 2122
Lines 99570 99570
Branches 15324 15324
=======================================
Hits 39247 39247
Misses 56844 56844
Partials 3479 3479 ☔ View full report in Codecov by Sentry. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice! The test plan succeeded for me.
Fixes #21718
Prior to this PR, the toolbar in reader detail was too low on Android 15 (Vanilla Ice Cream). The primary cause for this was not correctly consuming the window insets in
BaseAppCompatActivity
, which meant whenReaderDetailFragment
adjusted the toolbar to account for the window insets, the insets were applied twice.Resolving this uncovered the fact that
BaseAppCompatActivity
was more involved that it needed to be, so I greatly simplified it in this PR.To test:
Before and after shots of two screens below: