styles - Set a values folder for multiple android sdk versions -


i set values folder multiple sdk verions set theme under sdk 19. have tried doing:

protected void oncreate(bundle savedinstancestate) {         if (build.version.sdk_int < 19) {             getapplication().settheme(r.style.hometheme4);         }         super.oncreate(savedinstancestate);          setcontentview(r.layout.activity_main_launch_screen); [.....] } 

but doesnt seem set theme whole app.

thank in advance.

you place theme want use api-19 , above inside folder:

/values-v19 

and default values folder handle below api-19:

/values 

see related android resource qualifiers documentation.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -