How to Modify the standard List view? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) +--- Thread: How to Modify the standard List view? (/showthread.php?tid=130617) |
How to Modify the standard List view? - Balinus - 2012-05-03 Hello! I'm trying to see how to modify the standard "List" view (see screenshot below). However, I can't figure out where this list is placed in the xml files. Is this list hardcoded? Basically, I just want to add "duration" after the title track and maybe align it to the left instead of right. screenshot015 par Borghor, sur Flickr Thanks for any help! RE: How to Modify the standard List view? - Hitcher - 2012-05-03 What skin are you modifying there? RE: How to Modify the standard List view? - Balinus - 2012-05-03 It's a modification of Shade. Wanted to make it compatible with Eden and now I feel like adding new stuff, etc... RE: How to Modify the standard List view? - butchabay - 2012-05-03 Set Debugging from false to true in addon.xml and go to the list view you should see the name.xml ... RE: How to Modify the standard List view? - Balinus - 2012-05-03 thanks! then, it's in MyMusicNav.xml, fixedlist "50". But strangely, can't find id="50" in MyMusicNav.xml, nor in ViewsMusicLibrary.xml RE: How to Modify the standard List view? - Hitcher - 2012-05-03 Look in the ViewsFileMode.xml. RE: How to Modify the standard List view? - Balinus - 2012-05-03 Not there... tried all Include*.xml fileS... :/ SVN repo is here if that helps : http://code.google.com/p/shade-xbmc-eden/source/browse/ ok! found id="50" in DialogAlbumInfo.xml Thanks guys, I'll see how I can add duration and chanhe the alignment. RE: How to Modify the standard List view? - wyrm - 2012-05-04 (2012-05-03, 22:17)Balinus Wrote: Not there... tried all Include*.xml fileS... :/Balinus, No that is not it, what you want is "CommonRootView" include in the ViewsFileMode.xml. Take a look at the file from line 58 PHP Code: <control type="fixedlist" id="50"> Wyrm (xTV-SAF) RE: How to Modify the standard List view? - pecinko - 2012-05-04 As a general advice - study your includes.xml It will probably contain code that is (repeatedly) used in various windows with <include> function as well as other XML files (include file="..") with further code. You may want to organize them differently so it makes sense to you. RE: How to Modify the standard List view? - Balinus - 2012-05-04 (2012-05-04, 04:03)wyrm Wrote: No that is not it, what you want is "CommonRootView" include in the ViewsFileMode.xml. Take a look at the file from line 58 oh great, that was it! Thanks! screenshot067 par Borghor, sur Flickr (2012-05-04, 11:46)pecinko Wrote: As a general advice - study your includes.xml You wouldn't believe how much time I lost before I understood that a lot of things were "hidden" in the includes*.xml ! Thanks for the advice. I was beginning to think it might be a good idea to organise things differently. Especially the ViewsVideoLibrary.xml which contain 15 000 lines of code! I think I'll separate each view into a different file. RE: How to Modify the standard List view? - Hitcher - 2012-05-04 This might come in handy - Debugging/skinning aid for any skin RE: How to Modify the standard List view? - Balinus - 2012-05-04 Thanks! Debuggrid is nice to have! How often did I changed a position by "2" a a time and looked by eye the "level"! |