Hi there,

I have just started creating an Activity with a fixed and a dynamic
layout part. The dynamic part (and the number of created TextViews) is
based on the data it should display. For saving / restoring instance
state, all TextViews need to have IDs.
Of course, I want to ensure that my own IDs will never conflict with
IDs that occur in the generated R class.
As the number of TextViews in the dynamic part is unknown, I can not
just predefine a bunch of IDs in R and use these.

Is there a safe number range I can use for my own layout component's
IDs ? Looking at R.java in the gen/ folder, I have the impression that
generated IDs are all greater than 0x7f000000. Is that guaranteed ?

Thanks and Regards,
Markus

---

I've never claimed that a genius is what I currently am. It's wat I
want to become.

-- 
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

Reply via email to