i writing wp8 app overrides color theme on phone white. before people discredit me decision, app supposed messenger application , white background makes easier read. in future want allow people able choose between black or white in case battery life important need on hurdle first.
currently problem after overriding theme colors color behind application bar still refuses change. i'm not talking background color of application bar rectangle drawn behind application bar animated pop upwards bottom of screen. visible , quiet annoying if appears second.
i know there must way applications office, google mail , skype override color theme , implement white theme instead , not have same problem.
if great!
i've found solution it's not nice one. if finds better solution please let me know.
i solved problem setting application bar opacity near 1 not 1 (i set 0.99). tell windows not rescale window (which cause of black background).
i set bottom margin of page height of application bar.
here's code interested:
private void panoramamain_selectionchanged(object sender, selectionchangedeventargs e) { panorama p = (panorama) sender; if(p.selectedindex == 1) { messagelist.margin = new thickness(0, 0, 0, applicationbar.defaultsize); applicationbar.isvisible = true; } else { messagelist.margin = new thickness(0, 0, 0, 0); applicationbar.isvisible = false; } }
Comments
Post a Comment