I wish to change the speed at which the application description text fades/unfades from the homescreen.
I have found this code within the homescreen.svg file:
Entire Block of code for the Application Description text:
Code:
<switch>
<foreignObject x="0"
y="0"
width="0"
height="0"
xlink:href="dummy"
requiredExtensions="x-object:/EntryDescription"
display="none">
x-object:/EntryDescription?showname&width=276&height=25&font-family=BBAlpha Sans&font-style=plain&font-size=20&fill=ffffff&id=net_rim_bb_calendar_app.Calendar&align=center&enclosing=()&showinfo=left&target=status_font_description1
</foreignObject>
</switch>
<text id="status_font_description1"
x="148"
y="348"
font-family="BBAlpha Sans"
font-size="20"
fill="#ffffff"
display="none"
text-anchor="middle"/>
<set xlink:href="#status_font_description1"
attributeName="display"
to="inline"
begin="hs2.focusin"
end="hs2.focusout"/>
<animate xlink:href="#status_font_description1"
attributeName="opacity"
values="0;0;1;1;0"
keyTimes="0;.1;.175;.8;1"
dur="5"
begin="hs2.focusin"
end="hs2.focusout"
fill="freeze"/> Code which I wish to change:
Code:
<animate xlink:href="#status_font_description1"
attributeName="opacity" values="0;0;1;1;0"
keyTimes="0;.1;.175;.8;1"
dur="5"
begin="hs2.focusin"
end="hs2.focusout"
fill="freeze"/> The duration was initially 5. I tried changing this to 3 and placed it just before the end of the svg file (</svg>) which I import into TB.
I receive no errors during import/export and the theme loads fine however there is no change in the duration of the fade effect...
Any suggestions? Is it the keytimes? Or am I not placing it correctly in the svg file? Do I need to place the whole block of code in my svg file or just the line I wish to change?
Edit: I exported my theme and took a look at the homescreen.svg file with the added code. It appears the code I add in my svg file is placed above the full code block which I listed above. Is it not executing the code I desire because there is similar code below it? I am going to try and remove the application name from TB and copy the code from Homescreen.svg and then add it that way in my svg file...hopefully that will work!
Edit #2: Ok so that didn't work..."Unable to parse <switch> correctly" was the error. I found a post stating that you cannot use switch within your svg file. Anyone know how to work around this?