Striped Background in a list
#1
I'm trying to think of a way to implement a list that looks similar to this:

Image

i.e. alternating background texture for the unfocused items, any ideas would be most appreciated.

eg a way of basing the texture visibility on the list index (odd or even) would suffice.
Reply
#2
Controlbutton array for loop. You'd have a index for odds and evens.

Texture = A
If index / 2 == 0:
Texture = B

Sent from my SM-G935T
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
Reply
#3
(2016-06-13, 16:59)Lunatixz Wrote: Controlbutton array for loop. You'd have a index for odds and evens.

Texture = A
If index / 2 == 0:
Texture = B

Sent from my SM-G935T

Thanks but it's for the addon settings dialog so can't do anything programmatically, has to be xml based Sad


Sent from my iPhone
Reply

Logout Mark Read Team Forum Stats Members Help
Striped Background in a list0