How to change themes in android smoothly? -


in application using splash screen application start theme @android:style/theme.black.notitlebar.fullscreen.

after 2 seconds app goes on main activity uses theme: @style/theme.sherlock.light.darkactionbar.

one in full screen, other 1 not. transition between both not smooth , takes while (~1 seconds) main activity adjust status bar. there trick avoid this?

as far know, there no api level solution this. suggest using transitiondrawable example changing background color and/or propertyaimation changing view's properties background color or text color. can call settheme() function of activity apply new theme. careful settheme() must called in oncreate() function before setcontentview.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -