I want to create color state list from xml file containing a selector.
>From the documentation its seems that i have to use static
ColorStateList createFromXml(Resources r, XmlPullParser parser) but i
can't figure out what parameters to pass. I guess i can use :
XmlPullParserFactory factory = XmlPullParserFactory.newInstance();
XmlPullParser parser = factory.newPullParser();
to obtain the parser but what about the xml file that i want to parse.
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to