Creating and Setting Themes in code

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Creating and Setting Themes in code

Postby Andy » Tue Feb 10, 2009 12:55 pm

Hi All,

Can any one tell me is there a way for creating our own themes in plain Java code without using the XML stuff
in Android.

I tried Theme class... but I couldn't find much for Theme creation,only for setting and getting the existing theme
attributes was present..

Any help will be appriciated.

A n D r O i D
Junior Developer
Junior Developer
Posts: 13
Joined: Fri Dec 19, 2008 2:53 pm


Postby TommyN » Sat Apr 25, 2009 6:14 pm

I'm interested in this as well.
I would like to modify an existing theme at runtime so the next activity that gets opened would use the new theme attributes. Anyone know if this is possible at all?

Posts: 3
Joined: Sat Apr 25, 2009 6:02 pm


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 16 guests