QUOTE(BecomethemonsteR @ Apr 23 2007, 10:26 AM)
Where in the skin is the CommonViewTypes.xml located?
Look in the PAL or PAL16x9 folder.
Here is an example of a wraplist
QUOTE(Example)
<control type="wraplist" id="55">
<posx>5</posx>
<posy>120</posy>
<width>710</width>
<height>394</height>
<onleft>54</onleft>
<onright>54</onright>
<onup>420</onup>
<ondown>420</ondown>
<orientation>horizontal</orientation><--------This line determines whether the list scrolls horizontally or vertically
<viewtype label="Big Wrap">Wrap</viewtype><------This line is the view type label, the part in the "" is what is gonna show up as the label in the skin
<focusposition>1</focusposition><-------This line controls what item is focused. If you have three items in the list 1 would be the middle
<scrolltime>200</scrolltime>
<itemlayout height="250" width="210"><-----Everything in this section controls the attributes of the non focused stuff
<control type="image">
<posx>0</posx>
<posy>80</posy>
<width>210</width>
<height>210</height>
<info>ListItem.Icon</info>
</control>
<control type="image">
<posx>0</posx>
<posy>290</posy>
<width>210</width>
<height>210</height>
<info>ListItem.Icon</info>
<texture flipy="true" diffuse="fade2.png" />
</control>
<control type="image">
<posx>75</posx>
<posy>75</posy>
<width>28</width>
<height>28</height>
<info>ListItem.Overlay</info>
</control>
</itemlayout>
<focusedlayout height="270" width="290"><-----Everything in this section controls the focused List item
<control type="image">
<posx>10</posx>
<posy>20</posy>
<width>270</width>
<height>270</height>
<info>ListItem.Icon</info>
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<posx>10</posx>
<posy>290</posy>
<width>270</width>
<height>270</height>
<info>ListItem.Icon</info>
<texture flipy="true" diffuse="fade2.png" />
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<posx>80</posx>
<posy>80</posy>
<width>28</width>
<height>28</height>
<info>ListItem.Overlay</info>
</control>
</focusedlayout>
</control>
</include>