I had to do this recently. There is apparently not an easy way to get the resource id of the layout your view was just created from, however I used the tag attribute to sort out which was which.
<... layout android:tag="view1"> .. </ ... layout> in your view you can get getTag(). - Brill Pappin -- 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

