Skip to content

frankois944/android-custom-text-toolbar

Repository files navigation

demo-test-tech

This sample replace the default contextual menu of a selected text on Compose Android/CMP by a custom one.

This sample uses Compose multiplatform, but it can also work with Compose for Android / iOS.

I have replaced the contextual menu when selecting some text to add more text manipulation than the default one.

The dialog for adding a link could be avoided (and replaced), but it will complicate the code.

Also, there are some edge cases when manipulating the link that need to be debugged.

Waiting for update of the Text Editor and Compose for iOS

References :

Some screens

simple with selection
add new link

About

Customize Compose Multiplatfrom Text Toolbar

Topics

Resources

Stars

Watchers

Forks