I’ve added orientation attribute to my custom view, and i want to compare it’s value with predefined constants, but not with simple numbers (what if values will be changed). R.attrs.orientation is other value. Where i can “take” this values?
Share
Its not clear what your question is, but don’t worry about the constants changing. As long as you use the constant and not its value you’ll be fine if they change.