Trying to get smoother horizontal slide in main menu - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67) +---- Forum: Amber (https://forum.kodi.tv/forumdisplay.php?fid=203) +---- Thread: Trying to get smoother horizontal slide in main menu (/showthread.php?tid=354197) |
Trying to get smoother horizontal slide in main menu - peque - 2020-05-05 Hi! I was curious if I was able to customize a bit the slide speed when you navigate main horizontal menu. I would like it to be slower, so smoother. I though I could do it in Includes_Horizontal_Home.xml... But I haven't found corresponding "slide" effect... I would like to do it myself, but some help finding that specific slide effect would be perfect. Thanks a lot! RE: Trying to get smoother horizontal slide in main menu - peque - 2020-05-13 Anyone? RE: Trying to get smoother horizontal slide in main menu - the_other_guy - 2020-05-14 I was curious if I was able to customize a bit the slide speed when you navigate main horizontal menu. I would like it to be slower, so smoother. not know skin but it may Includes_Home/xml each widget type has its own it looks some thing like this
RE: Trying to get smoother horizontal slide in main menu - ontap - 2020-05-14 I do it this way ( dont know if its the correct way but it works ). In "Includes_Horizontal_Home.xml". Underneath Line 56 "orientation>horizontal</orientation>" insert the line below , <scrolltime tween="quadratic" easing="out">300</scrolltime>. If you lower the number from 300 , the menu content will scroll quicker, try something radical like "50" and you will see how much difference it makes. RE: Trying to get smoother horizontal slide in main menu - peque - 2020-05-14 Thanks both! (2020-05-14, 18:02)ontap Wrote: I do it this way ( dont know if its the correct way but it works ). That is what I was looking for. But I was looking for a "slide" effect, while as you've said, horizontal menu is a control that you can personalize with many attributes, one of them being this scrolltime. I've tested them all and I like "back out" tweener with 500 ms of scroll time. It's really elegant and smooth animation. Anyway, in general I would say this skin is not so smooth as others I've tested, don't know why. But it's the one that fit my needs. Thanks a lot! RE: Trying to get smoother horizontal slide in main menu - bsoriano - 2020-05-19 (2020-05-14, 20:15)peque Wrote: Thanks both!@peque, could you please post a small video of how the scrolling looks with your preferred tweener? Thanks. Regards, Bart RE: Trying to get smoother horizontal slide in main menu - peque - 2020-05-20 I must find an "elegant" software based solution to record the screen of an Android TV. I was thinking in just point to the screen with my phone, but you know... there must be a better way to do it. RE: Trying to get smoother horizontal slide in main menu - peque - 2020-05-22 Sorry for the delay!! Here you have the "back out" effect: https://drive.google.com/file/d/1CzMbcRoC8Lu2nrShg7YhSt35oYZ8H4Wg/view?usp=sharing Also, as you can see, I've personalized a little bit home widgets/shelves position to be near the menu, and not in the middle of the screen. This way background fanart is more visible. I would also like to make them smaller, but that's being a little bit more difficult... If you can help me a bit, it would be perfect. Thanks a lot. RE: Trying to get smoother horizontal slide in main menu - bsoriano - 2020-05-22 (2020-05-22, 10:56)peque Wrote: Sorry for the delay!!@peque , that looks pretty good, thank you. I have in my list of to-dos for the skin to provide a "low" option for the shelves. Making the shelves smaller will require you to make changes and experiment in two places: the file template.xml in the shortcuts folder of the skin, and the Includes_Shelf_Contents.xml file in the 1080i folder of the skin. In the template.xml file, you would need to change the properties top, height and backgroundheight for all six shelves, both static and dynamic, and also would have to change the position of the shelf indicators. The shelf indicators code starts in line 59 of the file, and the code for the shelves/widgets starts in line 162. In the Includes_Shelf_Contents.xml file, you would need to change the height and width of the itemlayout/focusedlayouts for poster widgets and square widgets. Look at the code starting in line 330. Regards, Bart RE: Trying to get smoother horizontal slide in main menu - peque - 2020-06-28 (2020-05-22, 17:25)bsoriano Wrote:You've implemented that low shelves option finally! Thanks a lot!(2020-05-22, 10:56)peque Wrote: Sorry for the delay!!@peque , that looks pretty good, thank you. I have in my list of to-dos for the skin to provide a "low" option for the shelves. Now if they were just a little smaller!... [emoji28] No. Seriously. Thanks a lot. |