[android-developers] Re: Themes - Is it possible to apply a style to a specific view ID (that multiple views share) from the Theme?

2009-06-03 Thread Jeff Sharkey
You can do this, but in the opposite direction. Each of the TextViews would request a specific "android:style", which you could then define from the theme through attributes. Here's an example where I started doing something like this: http://code.google.com/p/android-sky/source/browse/trunk/Sk

[android-developers] Re: Themes - Is it possible to apply a style to a specific view ID (that multiple views share) from the Theme?

2009-06-03 Thread Robert Green
Hmm... I guess I'm thinking of the way a class of HTML elements are styled in CSS. That would be really nice. Something where I could say in the theme, "All titles will look like this", and then a UI element would somehow declare, "I am a title." I suppose it would be a next-level thing with th