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

Like Tree1Likes
  • 1 Post By odpm1977

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 07-16-2011, 06:05 PM
CrackBerry Genius
Device(s): iPhone4s 32GB Black
Carrier: AT&T
 
Location: Elk Grove, CA
Join Date: Jun 2008
Posts: 1,585
Likes Received: 18
Thanked 16 Times in 13 Posts
Default Help -Hidden Dock with static icons on home page.

I'm trying to make a theme with 4 icons that are on a hidden dock. I also want to have access to three custom icons along the top banner that do not hide. (see image below).

In composer I made the 4 hidden icons and dock its own layer "buttons" and the other layer, with the three top icons, as "Layer 1".

I've renamed the four icons to match the svg code (ie, Theme_button_1, etc.).

Once I exported the svg, I used Notepadd ++ to modify the svg file and added the animation files for the hidden dock.

However, this just does not work.

i have all the files available if someone who really knows hidden dock files and svg code can QA it and let me know what I'm doing wrong?

__________________
 @Rockdog97 
Reply With Quote Tip this Post
  #2  
Old 07-16-2011, 06:16 PM
CrackBerry Abuser
Device(s): Unlocked 9700, Berrylicious Delight Hybrid OS
 
Join Date: Jun 2011
Posts: 235
Likes Received: 53
Thanked 131 Times in 44 Posts
Default

i would create the hidden dock on Layer_1 and the top 3 on different layer and just use this simple SVG:

<animateTransform xlink:href="#Layer_1" id="_anim_l6" attributeName="transform" type="translate"
to="0,0" dur="0.3s"
fill="freeze"
begin="accessKey( )" />

<animateTransform xlink:href="#Layer_1" id="_anim_d6" attributeName="transform" type="translate"
to="0,100" dur="0.3s"
fill="freeze"
begin="accessKey(ESCAPE)" />
Reply With Quote Tip this Post
    Thread Author   #3  
Old 07-16-2011, 10:59 PM
CrackBerry Genius
Device(s): iPhone4s 32GB Black
Carrier: AT&T
 
Location: Elk Grove, CA
Join Date: Jun 2008
Posts: 1,585
Likes Received: 18
Thanked 16 Times in 13 Posts
Default

From what I read, dont you need to call the hidden dock layer "buttons"?

So with the above code, what does this actually do? does this code freeze the three top icons or is this related to the hidden dock?

where would this code go as well? at the end before the /svg?
__________________
 @Rockdog97 
Reply With Quote Tip this Post
  #4  
Old 07-17-2011, 12:36 AM
CrackBerry Abuser
Device(s): Unlocked 9700, Berrylicious Delight Hybrid OS
 
Join Date: Jun 2011
Posts: 235
Likes Received: 53
Thanked 131 Times in 44 Posts
Default

Quote:
Originally Posted by Rockdog97 View Post
From what I read, dont you need to call the hidden dock layer "buttons"?

So with the above code, what does this actually do? does this code freeze the three top icons or is this related to the hidden dock?

where would this code go as well? at the end before the /svg?
you dont have to name it "buttons". Just rename your dock layer to "Layer_1" and the other layer "layer_2", paste the code right before the final </svg> as showed here:

Reply With Quote Tip this Post
    Thread Author   #5  
Old 07-17-2011, 12:33 PM
CrackBerry Genius
Device(s): iPhone4s 32GB Black
Carrier: AT&T
 
Location: Elk Grove, CA
Join Date: Jun 2008
Posts: 1,585
Likes Received: 18
Thanked 16 Times in 13 Posts
Default

tried that and it didn't work.

it's interesting in that, when I load the theme onto my phone and then activate it, the icons change to the new theme, but the displayed theme is the standard OS 6 theme... it does not look anything like the theme I made...

If anyone wants the composer file, the icon files, and the theme builder file to work with and see if they can make this work, let me know and I'll send it to you.

Otherwise, I'm just not smart enough to make this work.

thanks for the help though.
__________________
 @Rockdog97 
Reply With Quote Tip this Post
    Thread Author   #6  
Old 07-17-2011, 01:28 PM
CrackBerry Genius
Device(s): iPhone4s 32GB Black
Carrier: AT&T
 
Location: Elk Grove, CA
Join Date: Jun 2008
Posts: 1,585
Likes Received: 18
Thanked 16 Times in 13 Posts
Default

Ok, I got it to work...sort of, using your auggestion. I had to start a new theme and then imported the theme, which I had originally made for a 9650.

The hidden dock works when I hit the escape key (next to the trackpad), however, I can seem to unhide the dock. The dock slides up but then drops right back down.

Ant suggestions?

Posted from my CrackBerry at wapforums.crackberry.com
Reply With Quote Tip this Post
  #7  
Old 07-17-2011, 02:27 PM
CrackBerry Abuser
Device(s): Unlocked 9700, Berrylicious Delight Hybrid OS
 
Join Date: Jun 2011
Posts: 235
Likes Received: 53
Thanked 131 Times in 44 Posts
Default

press the "SPACE" button
Reply With Quote Tip this Post
Liked by Rockdog97 likes this.
Thanked by Rockdog97 (07-17-2011)
    Thread Author   #8  
Old 07-17-2011, 02:40 PM
CrackBerry Genius
Device(s): iPhone4s 32GB Black
Carrier: AT&T
 
Location: Elk Grove, CA
Join Date: Jun 2008
Posts: 1,585
Likes Received: 18
Thanked 16 Times in 13 Posts
Default

The spce button brings up the universal search ??

Posted from my CrackBerry at wapforums.crackberry.com
Reply With Quote Tip this Post
    Thread Author   #9  
Old 07-17-2011, 02:46 PM
CrackBerry Genius
Device(s): iPhone4s 32GB Black
Carrier: AT&T
 
Location: Elk Grove, CA
Join Date: Jun 2008
Posts: 1,585
Likes Received: 18
Thanked 16 Times in 13 Posts
Default

It works if I turn off Universal search.

Thanks for all the help! I certainly appreciated it...

Posted from my CrackBerry at wapforums.crackberry.com

Last edited by Rockdog97; 07-17-2011 at 04:04 PM.
Reply With Quote Tip this Post
  #10  
Old 07-18-2011, 02:41 PM
CrackBerry Abuser
Device(s): Unlocked 9700, Berrylicious Delight Hybrid OS
 
Join Date: Jun 2011
Posts: 235
Likes Received: 53
Thanked 131 Times in 44 Posts
Default

Quote:
Originally Posted by Rockdog97 View Post
It works if I turn off Universal search.

Thanks for all the help! I certainly appreciated it...

Posted from my CrackBerry at wapforums.crackberry.com
You can change the ( ) 'space' to any later you want, ex: ($) and your welcome, glad I was able to help

Posted from my CrackBerry at wapforums.crackberry.com
Reply With Quote Tip this Post
    Thread Author   #11  
Old 08-05-2011, 10:30 PM
CrackBerry Genius
Device(s): iPhone4s 32GB Black
Carrier: AT&T
 
Location: Elk Grove, CA
Join Date: Jun 2008
Posts: 1,585
Likes Received: 18
Thanked 16 Times in 13 Posts
Default

Odmpm1977..
was wondering of you could lend me your expertise again. The code you provided for the hidden dock worked great, but I wanted to add a second hidden dock for the top three static icons (Ubersocial- facebook - Options) as well as the hidden dock for the "Layer_1" icons.

I made the three top icons "layer_3" and used the code you provided, copied it and changed the layer to "Layer_3" and changed the x & y coordinates of the top hidden dock as below:

<animateTransform xlink:href="#Layer_3" id="_anim_l6" attributeName="transform" type="translate"
to="0,0" dur="0.01s"
fill="freeze"
begin="accessKey(Z)" />

<animateTransform xlink:href="#Layer_3" id="_anim_d6" attributeName="transform" type="translate"
to="45,0" dur="0.01s"
fill="freeze"
begin="accessKey(ESCAPE)" />

<animateTransform xlink:href="#Layer_1" id="_anim_l6" attributeName="transform" type="translate"
to="0,0" dur="0.01s"
fill="freeze"
begin="accessKey( )" />

<animateTransform xlink:href="#Layer_1" id="_anim_d6" attributeName="transform" type="translate"
to="0,113" dur="0.01s"
fill="freeze"
begin="accessKey(ESCAPE)" />

When I run the simulator, I get the following error:

Errors in homescreen.svg:
>>> Transcoding homescreen.svg.
Error: A parse error has occurred at line 1097 column 156 (cvc-id.2: There are multiple occurrences of ID value '_anim_l6'.).
Error: A parse error has occurred at line 1097 column 156 (cvc-attribute.3: The value '_anim_l6' of attribute 'id' on element 'animateTransform' is not valid with respect to its type, 'ID'.).
Error: A parse error has occurred at line 1099 column 162 (cvc-id.2: There are multiple occurrences of ID value '_anim_d6'.).
Error: A parse error has occurred at line 1099 column 162 (cvc-attribute.3: The value '_anim_d6' of attribute 'id' on element 'animateTransform' is not valid with respect to its type, 'ID'.).
Error: The SVG file "homescreen.svg" cannot be compiled.

I'm not sure how or what to change the '_anim_l6' value for 'Layer_3". Any idea?
__________________
 @Rockdog97 
Reply With Quote Tip this Post
  #12  
Old 08-08-2011, 03:30 AM
CrackBerry Abuser
Device(s): 9700 (Bold)
Carrier: Rogers
Pin: PM ME
 
Location: Victoria
Join Date: Jun 2008
Posts: 239
Likes Received: 17
Thanked 28 Times in 19 Posts
Default

Hey change the layer_3 to anim_l7 and anim_d7

Should work

Posted from my CrackBerry at wapforums.crackberry.com
Reply With Quote Tip this Post
    Thread Author   #13  
Old 08-08-2011, 09:53 PM
CrackBerry Genius
Device(s): iPhone4s 32GB Black
Carrier: AT&T
 
Location: Elk Grove, CA
Join Date: Jun 2008
Posts: 1,585
Likes Received: 18
Thanked 16 Times in 13 Posts
Default

awesome! thanks.. worked perfect.. had to adjust the top hidden dock values to make the top dock hide, but got it to work..

Thanks for the help.

I'll post this theme for all to enjoy shortly,
__________________
 @Rockdog97 
Reply With Quote Tip this Post
  #14  
Old 08-08-2011, 11:27 PM
CrackBerry Abuser
Device(s): 9700 (Bold)
Carrier: Rogers
Pin: PM ME
 
Location: Victoria
Join Date: Jun 2008
Posts: 239
Likes Received: 17
Thanked 28 Times in 19 Posts
Default

No problem !! Glad to help.

Posted from my CrackBerry at wapforums.crackberry.com
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > Theme Developers   Help -Hidden Dock with static icons on home page.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes