windows - Dark theme of app -
i writing application windows phone.
i want set dark theme of app.
i set on window, when deploy app on device, theme light.
code of xaml:
<page x:class="murakami.mainpage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:murakami" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:ignorable="d"> <grid background="{themeresource applicationpagebackgroundthemebrush}"> <button x:name="button" content="" horizontalalignment="left" margin="10,10,0,0" verticalalignment="top" width="48" height="46"> <button.background> <imagebrush stretch="fill" imagesource="images/menu.png"/> </button.background> </button> <button x:name="button1" content="" horizontalalignment="left" margin="302,10,0,0" verticalalignment="top" width="48" height="46" > <button.background> <imagebrush stretch="fill" imagesource="images/cart.png"/> </button.background> </button> <button x:name="button2" content="" horizontalalignment="left" margin="126,5,0,0" verticalalignment="top" height="63" width="115"> <button.background> <imagebrush stretch="fill" imagesource="images/logo_murakami.png"/> </button.background> </button> </grid>
how can fix this?
Comments
Post a Comment