[android-developers] Re: When to use android:attr and android:style ?

2009-05-19 Thread twan
Hmm, i can now see my own message immediately ;) On May 19, 9:42 pm, twan twa...@gmail.com wrote: Hello, I got a little question on when to use style and android:theme in a layout xml file. For example: style=?android:attr/textAppearanceSmall does the same thing as:

[android-developers] Re: When to use android:attr and android:style ?

2009-05-19 Thread twan
Found it out myself, theme seems to apply to all, style only applies to one view. Handy! Cheers, Twan On May 19, 9:42 pm, twan twa...@gmail.com wrote: Hello, I got a little question on when to use style and android:theme in a layout xml file. For example:

[android-developers] Re: When to use android:attr and android:style ?

2009-05-19 Thread jtaylor
Style applies to a component like a TextView. Themes are for whole Activities or Applications. + Juan On May 19, 5:01 pm, twan twa...@gmail.com wrote: Found it out myself, theme seems to apply to all, style only applies to one view. Handy! Cheers, Twan On May 19, 9:42 pm, twan