[android-developers] Simple attribute/style question
I have a custom style that I want to apply to my own implementation of EditText. The following link is a summary of how I am trying to get attributes from my custom style... https://gist.github.com/2972687
My goal is to have the style applied when I instantiate this custom EditText regardless if it is instantiated via code or XML and for some reason, when I try to access the android:textColor attribute, it returns a -1. I've tried adding other attributes to my style and accessing them results in a -1 as well. It seems as though I can only access the android:background attribute.
-- You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home