I have been trying my hand at skinning lately and am building a skin from Foundation. Unfortunately, I seem to have a very odd issue when it comes to MyVideoNav.xml. In this xml file for some reason button ID 2 (the View as button) will not cycle through the views. The code for the button is taken right out of Foundation-
<control type="button" id="2">
and as I add new views when I click this button nothing happens (it stays on the 50 List view). Thinking that most likely I was somehow not building views properly, I copied the View_50_List.xml and created View_50_List2.xml with the same code but the references to id=50 being changed to id=51 and changing the include name to View_50_List2. I then added the include for the new file in Includes.xml and the include and view 51 to MyVideoNav.xml. For some reason I still can't cycle these two views (they are the only two.
I know the new view (View_50_List2.xml) is being loaded because if I add an overlay outside of id=51 but inside <include name="View_50_List2"> in View_50_List2.xml the overlay shows up on the other view.
Any thoughts as to what I am missing?