xaml - App Bar becomes hidden when navigating away from a page, with its background the phone's theme (and not what is defined in app) -


when i'm navigating between pages on wp8 app, noticed part of transition animation (using telerik's i.e. "rootframe = new telerik.windows.controls.radphoneapplicationframe();"), app bar on page navigated becomes hidden first. it's sudden , short amount of time, still noticeable.

here app bar of page:

enter image description here

and here app bar of same page when hit i.e. navigating away it. app bar showing previously, there's white background showing instead. of course, said, split moment, because before know it, you're taken last page. it's still noticeable.

enter image description here

the white background appears of phone's theme (its theme light), though i've reset rootframe's background black in app.xaml.cs, , reset brushes use dark theme's (advice windows phone 8 how on 1 theme if phone's theme changed):

public app() {     // code here     rootframe.background = new solidcolorbrush(colors.black);     darktheme(); } public void darktheme() {         ((solidcolorbrush)resources["phoneradiocheckboxcheckbrush"]).color = ((solidcolorbrush)resources["phoneradiocheckboxborderbrush"]).color = ((solidcolorbrush)resources["phoneforegroundbrush"]).color = color.fromargb(0xff, 0xff, 0xff, 0xff);         ((solidcolorbrush)resources["phonebackgroundbrush"]).color = color.fromargb(0xff, 0x00, 0x00, 0x00);         ((solidcolorbrush)resources["phonecontrastforegroundbrush"]).color = color.fromargb(0xff, 0x00, 0x00, 0x00);         ((solidcolorbrush)resources["phonecontrastbackgroundbrush"]).color = color.fromargb(0xff, 0xff, 0xff, 0xff);         ((solidcolorbrush)resources["phonedisabledbrush"]).color = color.fromargb(0x66, 0xff, 0xff, 0xff);         ((solidcolorbrush)resources["phoneprogressbarbackgroundbrush"]).color = color.fromargb(0x19, 0xff, 0xff, 0xff);         ((solidcolorbrush)resources["phonetextcaretbrush"]).color = color.fromargb(0xff, 0x00, 0x00, 0x00);         ((solidcolorbrush)resources["phonetextboxbrush"]).color = color.fromargb(0xbf, 0xff, 0xff, 0xff);         ((solidcolorbrush)resources["phonetextboxforegroundbrush"]).color = color.fromargb(0xff, 0x00, 0x00, 0x00);         ((solidcolorbrush)resources["phonetextboxeditbackgroundbrush"]).color = color.fromargb(0xff, 0xff, 0xff, 0xff);         ((solidcolorbrush)resources["phonetextboxreadonlybrush"]).color = color.fromargb(0x77, 0x00, 0x00, 0x00);         ((solidcolorbrush)resources["phonesubtlebrush"]).color = color.fromargb(0x99, 0xff, 0xff, 0xff);         ((solidcolorbrush)resources["phonetextboxselectionforegroundbrush"]).color = color.fromargb(0xff, 0xff, 0xff, 0xff);         ((solidcolorbrush)resources["phonebuttonbasepressedforegroundbrush"]).color = color.fromargb(0xff, 0xff, 0xff, 0xff);         ((solidcolorbrush)resources["phonetexthighcontrastbrush"]).color = color.fromargb(0xff, 0xff, 0xff, 0xff);         ((solidcolorbrush)resources["phonetextmidcontrastbrush"]).color = color.fromargb(0x99, 0xff, 0xff, 0xff);         ((solidcolorbrush)resources["phonetextlowcontrastbrush"]).color = color.fromargb(0x73, 0xff, 0xff, 0xff);         ((solidcolorbrush)resources["phonesemitransparentbrush"]).color = color.fromargb(0xaa, 0x00, 0x00, 0x00);         ((solidcolorbrush)resources["phonechromebrush"]).color = color.fromargb(0xff, 0x1f, 0x1f, 0x1f);         ((solidcolorbrush)resources["phoneinactivebrush"]).color = color.fromargb(0x33, 0xff, 0xff, 0xff);         ((solidcolorbrush)resources["phoneinverseinactivebrush"]).color = color.fromargb(0xff, 0xcc, 0xcc, 0xcc);         ((solidcolorbrush)resources["phoneinversebackgroundbrush"]).color = color.fromargb(0xff, 0xff, 0xff, 0xff);         ((solidcolorbrush)resources["phoneborderbrush"]).color = color.fromargb(0xbf, 0xff, 0xff, 0xff);     } 

the custom set rootframe background , reset brushes in darktheme() seem working part. it's when transitioning non-default page (i.e. not page app lands on) app bar page, problem seems arise.

any ideas what's going on?

okay solution set app bar's opacity 0.9999 , page's footer -100. bit dirty, works!


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -