Thank you Dianne. I didn't know about this class at all. Good to know it
exists! :-)
Could this class be used to make Themes selectable by the user throughout
one's app?:
- Inflate a View using a ContextThemeWrapper that is selected/created
according to user preferences.
- Call setContentView
Yes if you are okay with totally rebuilding your view hierarchy, I guess.
Or you could just call Context.setTheme() before rebuilding it.
On Wed, May 18, 2011 at 7:32 AM, Streets Of Boston
flyingdutc...@gmail.comwrote:
Thank you Dianne. I didn't know about this class at all. Good to know it
Hi,
I'm creating a new layout for an app using fragments. And in a screen,
I need to apply a specific theme just for one fragment, but I can't do
that. To make sure that I did the right thing, I applied the same
theme on an old activity and it works. The app already has a theme
defined, but on
You need to do this manually -- use ContextThemeWrapper to build a new
Context with the desired theme, and use that to inflate your view hierarchy.
On Tue, May 17, 2011 at 10:04 AM, Bruno Bruggemann
bruno.bruggem...@gmail.com wrote:
Hi,
I'm creating a new layout for an app using fragments.
4 matches
Mail list logo