How to Add a New View
#1
ok. ich listed the view in the includes.xml and in the custom_1129_Views.xml

i have only the Fanart showed in my view as a start but after chose my new View it always shows the List view.

I need help please.
Reply
#2
If for movies needs to be added to MyVideoNav, if for music needs to be added to MyMusicNav in the <views> tag as well as the includes section.

Also make sure the visible of the list, panel, whatever is available for the content type.
Reply
#3
O.K. I did it but ..... hmmm. it is very complicated.
Reply
#4
The more you learn over time the less complicated it gets Wink
Reply
#5
if you think that is complicated then run away now. Because of the scale of skinning that ranks as a 0 in what you need to do i.e. is an easy thing to add a new view once you've done it of course
SKIN: Aeon Madnox
RIP Schimi2k, we miss you.
When I grow up I want to be a skilled skinner
Thank me by ⬇ adding to my + reputation
Reply
#6
I think I´ve come pretty far, but after I implemented my new view nothing shows.
It always go back to the standard View.
Reply
#7
Code:
<includes>
    <include name="View_60_FanArt_Info">            
        <control type="group">    
            <control type="image">
                <top>0</top>
                <width>1920</width>
                <height>1080</height>
                <texture>milky.png</texture>
            </control>
        </control>
    </include>
</includes>

i want to start a view from scratch. This is the start.

This is what I includes in the includes.xml
Code:
<include file="View_60_FanArt_Info" />
This what I includes in the MyVideoNav.xml
Code:
<views>50,51,52,53,55,56,57,58,59,60,500,501,502,503,510</views>
...
Code:
<include>View_60_FanArt_Info</include>
            <!-- view id = 60 -->

but I docent work....
Reply
#8
Why do you think that it should work?

All you have is an image control.

The only way I know how to help you is to find out what you expect to happen when you add what you have added and go from there.
Reply
#9
Image

something like this.

this is why I mean it is complicated. sorry for my English.....but,
why can't I start whit a picture? And build from there? Simple and logical.
But I isn't very logical. a "million" shortcuts to all .xml files with no logical sense for me.
why can't it be like html? I have to implement all necessary in the view.xml and only major shortcuts. Like the menubar on top.
Swipe left for side blade. Thats all.

So don't be mad I´m at the beginning but take a look at my aeon glass mod, I think I did well.
Reply
#10
I'm not mad.

I am trying to help you but I need to know what your thinking and why you think adding just an image control will work.

Everything makes sense when you understand how things work.
Reply
#11
Where did that image cone from?

That won'the display as you don'the even have the view I'd in it. You've got far much more to do just to get the view to display
SKIN: Aeon Madnox
RIP Schimi2k, we miss you.
When I grow up I want to be a skilled skinner
Thank me by ⬇ adding to my + reputation
Reply
#12
ok,

what do I have to write in wich xml file to get a new view.
And why isn't it possible to copy a view and rename it? Just for understanding.
I wish I could copy View_59_logo and rewrite it. But without the bottom view from another xml file. (I didn't find it yet)
Reply
#13
I was trying to teach a man to fish but...

The include file= tells Kodi that file exists but the view is not added anywhere by typing that.

The file you have made will never show because how does Kodi know to display id="60"?
The answer is that it doesn't until you tell it.

If your using Aeon Nox then you should definitely not use id="60" because every scrollbar in the skin has that same id so it cannot be used as a visible. Your view would appear everywhere there is a scrollbar.

All of what I said above comes with taking the time to learn about skinning and reading, re-reading, and reading again the Skinning Manual (wiki).

You can copy logo view and rewrite it.

If skinning was easy everyone would do it Wink
Reply
#14
OK. that I undertand now. id=60 of course. that explain a lot.
thank you.
The Wiki is helpful but not for beginners.
Yes everybody would do it and a lot of crap came out.
Reply
#15
ok. i copyed a view and called it 511 and edited the included.xml and the MyVideoView.xml but still. It doesn't load.
Reply

Logout Mark Read Team Forum Stats Members Help
How to Add a New View0