Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / share / src / main / res / xml / shortcuts.xml
shortcuts.xml12 lines · 724 BRaw
| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <shortcuts xmlns:android="http://schemas.android.com/apk/res/android"> |
| 3 | <!-- Direct Share (system share sheet's direct-share row). The category must |
| 4 | match ShareShortcuts.CATEGORY: the dynamic shortcut published with that |
| 5 | category becomes a chooser target, and tapping it launches |
| 6 | SharePopupActivity (already the ACTION_SEND / SEND_MULTIPLE target) |
| 7 | with the shared content, ready to pick a nearby device. --> |
| 8 | <share-target android:targetClass="com.vayunmathur.share.ui.SharePopupActivity"> |
| 9 | <data android:mimeType="*/*" /> |
| 10 | <category android:name="com.vayunmathur.share.category.DIRECT_SHARE" /> |
| 11 | </share-target> |
| 12 | </shortcuts> |