nextFocusDown with inflated layouts
===

I have a view which includes a few instances of a view that is inflated from an xml layout.

In the xml layout i defined the android:nextFocusDown property based on the ID assigned to the elements in that layout.

The problem now is when i click next through the first instance of the layout everything works fine, but when i touch the first element of the next instance of the layout and click next, it goes back to the top of the page (basically the corresponding field in the first instance)

My theory is that since they have the same id ( i used android:id="@+id/..." in the layout xml to define an id ) that it is just jumping to the first one.

Is there another way to define this, or maybe something i am missing? The layout is pretty complicated so I would prefer to be able to use the xml instead of creating all of the elements in code.

Thanks,
- Ken