Is there a way to set a style / theme when using the startActivity () function?
Not. You have no right to interact with the user interfaces of other applications, no more than having the right to mess with yours.
In the case of PICK_CONTACT , if you want to have READ_CONTACTS permission, there is nothing that will prevent you from writing your own work with a list of contacts, thematically, as you wish.
If I create my own library and I want the user to be able to use style settings, will I need to get something in intent?
Since the setStyle() method is missing, dynamically changing the style of the action seems difficult.
If your library will be sent as an Android library project, you can provide thematic resources and recommendations for developers who, when adding your actions to their manifest, can choose which theme to use during compilation.
CommonsWare
source share