Skip to content Skip to sidebar Skip to footer

Custoom Floating Toolbar For Text Selection Controls

I want to customize the floating toolbar that appears when you select a text. This is an example of the standard floating toolbar: . Do you know how I can customize it (like addin

Solution 1:

You’ll add an intent filter to an Activity in your manifest:

<activity
android:name=".ProcessTextActivity"
android:label="@string/process_text_action_name">
  <intent-filter>
    <action android:name="android.intent.action.PROCESS_TEXT" />
    <category android:name="android.intent.category.DEFAULT" />
    <data android:mimeType="text/plain" />
  </intent-filter>
</activity>`

Post a Comment for "Custoom Floating Toolbar For Text Selection Controls"