2012-06-18, 12:55
As I'm using Glass skin, I'm trying to make a custom view for browsing my movies.
I try to mod an existing custom view (Glass : Resolution Case) which is also based on an original view from another skin.
By default, movie case automatically open :
But it's easy to set an option to keep case closed :
I'm looking for opening case on demand. In Glass Resolution Case, Fmronan add a hidden button with <ondown> in movie list. So when user press down arrow, case open. It work but (there is alway a BUT) when going left or right to navigate through movies animations are not smooth, case shrink roughly.
To get smooth animations in navigation with auto open option on, I use zoom and rotate
Otherwise I use only zoom :
How can I keep smooth animation and on demand case open by pressing down arrow ?
I think I need something like that :
- focus on movie -> animation zoom in
- down arrow -> no zoom out animation + rotate animation for open on movie
- up arrow -> back to movie with focus but no zoom in + rotate animation for close
- left or right arrow -> zoom out and zoom in animations
For those who want to try custom views in glass :
- download Glass Medium Resolution Case : http://passion-xbmc.org/glass/glass-1-0-...ttach=7563
- install Passion-XBMC repository : http://passion-xbmc.org/addons/?Page=Vie...n.xbmc.org
- install Glass Skin
- in Glass, after Skin Init, go to System > Views
- install Glass Resolution Case
- then System > Skin > Views > Install view from ZIP and install Glass Medium Resolution Case downloaded before
- restart XBMC
- System > Skin > Views and enable Glass Resolution Case and Glass Medium Res Case
Hope that you will find out what is wrong.
Thanks.
I try to mod an existing custom view (Glass : Resolution Case) which is also based on an original view from another skin.
By default, movie case automatically open :
But it's easy to set an option to keep case closed :
I'm looking for opening case on demand. In Glass Resolution Case, Fmronan add a hidden button with <ondown> in movie list. So when user press down arrow, case open. It work but (there is alway a BUT) when going left or right to navigate through movies animations are not smooth, case shrink roughly.
To get smooth animations in navigation with auto open option on, I use zoom and rotate
Code:
<animation type="focus" reversible="false">
<effect type="zoom" start="34,166,197,250" end="0,80,262,332" time="250"/>
<effect type="rotatey" delay="500" center="34" start="0" end="70" time="1000" tween="quadratic" easing="out"/>
</animation>
<animation type="UnFocus" reversible="true">
<effect type="zoom" start="0,80,262,332" end="34,166,197,250" time="250" reversible="true"/>
<effect type="rotatey" center="34" start="70" end="0" time="1000" reversible="true"/>
</animation>
Otherwise I use only zoom :
Code:
<animation type="focus" reversible="false">
<effect type="zoom" start="34,166,197,250" end="0,80,262,332" time="250"/>
</animation>
<animation type="UnFocus" reversible="true">
<effect type="zoom" start="0,80,262,332" end="34,166,197,250" time="250" reversible="true"/>
</animation>
How can I keep smooth animation and on demand case open by pressing down arrow ?
I think I need something like that :
- focus on movie -> animation zoom in
- down arrow -> no zoom out animation + rotate animation for open on movie
- up arrow -> back to movie with focus but no zoom in + rotate animation for close
- left or right arrow -> zoom out and zoom in animations
For those who want to try custom views in glass :
- download Glass Medium Resolution Case : http://passion-xbmc.org/glass/glass-1-0-...ttach=7563
- install Passion-XBMC repository : http://passion-xbmc.org/addons/?Page=Vie...n.xbmc.org
- install Glass Skin
- in Glass, after Skin Init, go to System > Views
- install Glass Resolution Case
- then System > Skin > Views > Install view from ZIP and install Glass Medium Resolution Case downloaded before
- restart XBMC
- System > Skin > Views and enable Glass Resolution Case and Glass Medium Res Case
Hope that you will find out what is wrong.
Thanks.