feat: display open with and link picker as dynamic bottom sheet overlay - #825
Open
Balajitechlabs wants to merge 1 commit into
Open
feat: display open with and link picker as dynamic bottom sheet overlay#825Balajitechlabs wants to merge 1 commit into
Balajitechlabs wants to merge 1 commit into
Conversation
Balajitechlabs
force-pushed
the
feature/link-picker-bottom-sheet
branch
from
August 21, 2026 18:27
507f752 to
f6ec8ee
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR improves the "Open with" / Link Actions experience by turning the link picker from a full-screen opaque activity into a translucent Material 3 bottom sheet overlay.
Why this change?
Previously, when setting Essentials as the default browser/link handler or using "Open with", clicking a link launched a full-screen opaque activity. This felt a bit jarring because it completely took you out of the app you were using (like WhatsApp, Twitter, or Reddit).
With this update:
What's Changed
Translucent Floating Window:
LinkPickerActivitywithtaskAffinity="",launchMode="singleInstance", andexcludeFromRecents="true"so it floats independently over the caller app rather than pulling the main Essentials app to the front.Theme.Essentials.Translucentto have transparent system bars and disabled OS preview flicker.Material 3 Bottom Sheet UI (
LinkPickerAdapter.kt):ModalBottomSheet(skipPartiallyExpanded = false).utm_*,fbclid,igsh, etc.), and Edit link.OpenWithFragment&ShareWithFragment.String Validations:
python3 scripts/validate_strings.pypasses with 0 errors and 0 warnings.Testing & Verification
./gradlew assembleDebug(compiled successfully).python3 scripts/validate_strings.pypasses all 74 files with 0 issues.