Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A black screen is just flashing for a while

In my Windows phone 8 application i have a search page which has a TextBox for user's to enter search keywords. The search will invoke when entering the "Enter" key of the default SIP keyboard.The search result is showing in another page. To hide the keyboard before navigating to result page, I changed the focus of TextBox control using this.Focus() method. But even after this a black screen is just flashing for a while. Is there any way to completely hide the SIP keyboard before the search method and the navigation. Please help me.

like image 874
Aneesh Avatar asked Mar 15 '13 13:03

Aneesh


1 Answers

This is a rendering problem, one way to fix this is to change the the opacity ot the your applicationbar

<shell:ApplicationBar IsVisible="True" Opacity="0.99">

When i had the same problem, i thought I needed to fix this WITHOUT changing the app bar. So i went through the whole page and what seems to happen is that i had a lot of controls being built inside my panorama, but it was not a direct child of the layout root grid, so that was causing the problem.

Let me know how it goes (:

like image 155
Swift Sharp Avatar answered Oct 22 '22 08:10

Swift Sharp