I have a custom view that programmatically creates several widgets within itself. I need to give these widgets ID numbers, so the RelativeLayout can position them properly. How do I find unused ID numbers that I can use? Just using constants won't work. Even if I happen to choose some that nobody else is using, any screen that has multiple instances of my custom view will end up with duplicate ID numbers.
-- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en