skink wrote:
> int activeColor = myColors.getInteger
> (R.styleable.MyColors_activeColor, 0);
> int inactiveColor = myColors.getInteger
> (R.styleable.MyColors_inactiveColor, 0);
just after posting i realized i use getInteger, which is wrong of
course (however it also works...)
it should be getColor:
int activeColor = myColors.getColor(R.styleable.MyColors_activeColor,
0);
int inactiveColor = myColors.getColor
(R.styleable.MyColors_inactiveColor, 0);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---