You havn't access to attributes from layout after creating of View,
but you have access to them in View's constuctor. Also you can use
implment your own LayoutInflater.Factory (http://developer.android.com/
reference/android/view/LayoutInflater.Factory.html), then set it to
layout inflater. In meth
Adam,
I am not sure about the extra indirection level you have in your code
(the "?attr" stuff), but this should work:
- @drawable/splash
With this in the manifest:
And then:
TypedArray a =
this.obtainStyledAttributes(R.styleable.MainSpl
Ok, I have the following files: attrs.xml, styles.xml, themes.xml
Here is my attrs.xml file:
Here is my themes.xml file:
- @drawable/splash
Here is my styles.xml file:
3 matches
Mail list logo