Hi i\'m launching activity from preferences screen. Activity is shared among three preferences. I wonder if i can set extras for this activity in xml
There is a data field for intents described in the documentation here.
It is used in the API demo application for the XML preferences to launch an intent in the Intent Preferences example.
Related example xml from that demo in preferences.xml:
Maybe this approach could work for you?