Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Page push -> flickering / blinking on dark background

$
0
0

Whenever one changes the page while using a dark background or the dark theme the screen flickers white once.
I tried it in a personal application from a Navigation page with await PushAsync aswell as on the MasterDetail Template with just the dark theme applied.

Giving epileptic episodes on every Page change isn't a option and a light theme isn't popular on the android world. Does someone have a solution to this?

Tested on android & uwp. Android with background and theme, uwp with a dark background.
GIF of the UWP: https://gfycat.com/WeeJaggedAgama

EDIT: It shouldn't matter since the theme also doesnt work but here is the change that is done to the App.xaml to get the dark background shown in the gif

         <Color x:Key="DARK_Background">#1a1a1a</Color>

                <Style TargetType="ContentPage" ApplyToDerivedTypes="True">
                    <Setter Property="BackgroundColor" Value="{StaticResource DARK_Background}" />
                </Style>

Viewing all articles
Browse latest Browse all 204402

Trending Articles