Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > Theme Developers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 12-02-2010, 02:00 PM
CrackBerry Abuser
Device(s): Curve 8520
Carrier: T-Mobile
Pin: 21B549E2
 
Location: Los Angeles
Join Date: Apr 2010
Posts: 144
Likes Received: 0
Thanked 2 Times in 2 Posts
Default Want to activate hidden dock with trackball

I have looked and looked but I was not able to find how do you create a hidden dock Theme and use the track ball instead of using buttons? I know how to hide/show the dock with buttons but I would like to use the trackball.
__________________
Email (thekid021@live.com) or BBM if you want any special Themes OS 5 85xx

Check out my themes http://kid21blackberrythemes.blogspot.com/
Reply With Quote Tip this Post
  #2  
Old 12-14-2010, 07:30 PM
CrackBerry Abuser
Device(s): 9900
Carrier: Cincinnati Bell
Pin: 28842060
 
Location: Cincinnati, OH
Join Date: Aug 2008
Posts: 280
Likes Received: 17
Thanked 12 Times in 9 Posts
Default

Here is what you need to add to your code for each icon in the hidden dock.

<animateTransform xlink:href="#LayerName" id="_l1" attributeName="transform" type="translate" to="0,0" dur="0.5s" fill="freeze" begin="IconName.focusin" />


<animateTransform xlink:href="#LayerName" id="_d1" attributeName="transform" type="translate" to="0,0" dur="0.5s" fill="freeze" begin="IconName.focusout" />

LayerName = Name of layer where your icons are.
IconName = Name of icon ie.Messages, Messenger, etc.

where it says to="0,0" this is your x and y axis.
If you want the icons to slide up from the bottom 60 pixels, your focusin to="0,0" would become to="0,-60".

If you want them to slide down from the top, to="0,60"
If you want them to slide in from left, to="60,0"
If you want them to slide in from right, to="-60,0"

If it is a hidden dock, then you can leave the to="0,0" for focusout just like it is.
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > Theme Developers   Want to activate hidden dock with trackball

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes