android - Using the custom enum attributes values -


in application i'm using following custom attribute custom view:

<attr name="direction">     <enum name="up" value="1" />     <enum name="down" value="2" /> </attr> 

the thing in custom view must compare current direction possible ones. there way access values & down attributes?

thanks lot,

gratzi

i have stumbled upon attributeset class . should retrieve data compiled xml files.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -