[android-developers] Re: How to style my own styleable with a style? (Custom view class with custom attribute)

2009-07-08 Thread brian.schimmel
Thank you very much, Dianne! It's alway amazing how quick and correct your answers are ;) This solves the problems I mentioned above, and some others I was not even aware of. I've seen that TypedArray-stuff in the plattform source before, e.g. in the constructor of TextView.java, but did not qui

[android-developers] Re: How to style my own styleable with a style? (Custom view class with custom attribute)

2009-07-08 Thread Dianne Hackborn
If you are using attrs.getAttributeResourceValue(), then you are not using the style/theming system at all. That is, there was no purpose to defining a an at all, that function is just retrieving a raw value from a resource for a given name. (This is also why the " http://some.weird.url.com/see