android - Setting a theme/style when using startActivity() -


simple question:

i using pick_contact in android 3.0 application. issue contact app has light theme while app uses dark one.

so question is:

is there way set style/theme when using startactivity()?

if creating own library , want user able use customize styles, need receive in intent? there better way solve this?

is there way set style/theme when using startactivity()?

no. have no right mess other apps' user interfaces, more have right mess yours.

in case of pick_contact, if willing have read_contacts permission, there nothing stopping writing own contact picker activity, themed wish.

if creating own library , want user able use customize styles, need receive in intent?

since there no setstyle() method, dynamically changing activity's style seems troublesome.

if library shipped android library project, can provide theme resources , guidance developers who, when adding activities manifest, can choose theme use @ compile time.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -