Skip to content

Instantly share code, notes, and snippets.

@jjd-uk
Created April 26, 2022 10:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jjd-uk/298cd75d0dd5a7ed4270f45d412a9a02 to your computer and use it in GitHub Desktop.
Save jjd-uk/298cd75d0dd5a7ed4270f45d412a9a02 to your computer and use it in GitHub Desktop.
<include name="SongsListLayout">
<focusedlayout height="80" condition="Container.Content(songs)">
<control type="image">
<left>0</left>
<right>0</right>
<height>80</height>
<texture colordiffuse="button_focus">lists/focus.png</texture>
<visible>Control.hasFocus(55)</visible>
</control>
<control type="label">
<left>35</left>
<height>80</height>
<right>320</right>
<aligny>center</aligny>
<label>$VAR[ListLabelVar]</label>
<shadowcolor>text_shadow</shadowcolor>
</control>
<control type="image">
<left>900</left>
<height>32</height>
<right>20</right>
<top>24</top>
<align>right</align>
<aligny>center</aligny>
<aspectratio>keep</aspectratio>
<texture>$INFO[ListItem.UserRating,flags/starrating/,.png]</texture>
</control>
<control type="label">
<left>35</left>
<height>80</height>
<right>40</right>
<align>right</align>
<aligny>center</aligny>
<label>$VAR[ListLabel2Var]</label>
<shadowcolor>text_shadow</shadowcolor>
</control>
</focusedlayout>
<itemlayout height="80" condition="Container.Content(songs)">
<control type="label">
<left>35</left>
<height>80</height>
<right>320</right>
<aligny>center</aligny>
<label>$VAR[ListLabelVar]</label>
<shadowcolor>text_shadow</shadowcolor>
</control>
<control type="image">
<left>900</left>
<height>32</height>
<right>20</right>
<top>24</top>
<align>right</align>
<aligny>center</aligny>
<aspectratio>keep</aspectratio>
<texture>$INFO[ListItem.UserRating,flags/starrating/,.png]</texture>
</control>
<control type="label">
<left>35</left>
<height>80</height>
<right>40</right>
<align>right</align>
<aligny>center</aligny>
<label>$VAR[ListLabel2Var]</label>
<textcolor>grey</textcolor>
<shadowcolor>text_shadow</shadowcolor>
</control>
</itemlayout>
</include>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment