ADFA-3840 | Hide fullscreen button behind bottom sheet#1315
Conversation
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughBoth editor layout XML files (portrait and landscape) are reorganized to place a fullscreen toggle button before the editor bottom sheet and diagnostic info views, reordering elements within the CoordinatorLayout view hierarchy. ChangesEditor Layout View Hierarchy Reordering
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Moved bottom sheet below fullscreen button in layout XML to ensure correct z-ordering.
52e4b87 to
7d8c9d1
Compare
Description
Reordered the views within the
CoordinatorLayoutin both portrait and landscapecontent_editor.xmlfiles. By moving theEditorBottomSheetanddiagnosticInfodefinitions afterbtn_fullscreen_toggle, the bottom sheet will now draw on top of the fullscreen button. This ensures the editor's fullscreen button is no longer visible or clickable when the bottom sheet is active.Details
Screen.Recording.2026-05-18.at.3.16.53.PM.mov
Ticket
ADFA-3840
Observation
This fix relies on Android's default drawing order (last declared view is drawn on top) to naturally obscure the button without needing to programmatically toggle its visibility state in the code.