Skip to content

Instantly share code, notes, and snippets.

@philcleveland
Created April 24, 2014 16:04
Show Gist options
  • Save philcleveland/11259980 to your computer and use it in GitHub Desktop.
Save philcleveland/11259980 to your computer and use it in GitHub Desktop.
Answer for SO question
<Application
x:Class="Approve.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
xmlns:local="clr-namespace:Approve">
<!--Application Resources-->
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Style.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
<local:LocalizedStrings x:Key="LocalizedStrings"/>
</Application.Resources>
<Application.ApplicationLifetimeObjects>
<!--Required object that handles lifetime events for the application-->
<shell:PhoneApplicationService
Launching="Application_Launching" Closing="Application_Closing"
Activated="Application_Activated" Deactivated="Application_Deactivated"/>
</Application.ApplicationLifetimeObjects>
</Application>
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:sys="clr-namespace:System;assembly=mscorlib">
<sys:Double x:Key="PanoramaItemHeaderFontSize">66</sys:Double>
<Style x:Key="PanoramaItemHeaderTextStyle" TargetType="TextBlock">
<Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiLight}"/>
<Setter Property="FontSize" Value="{StaticResource PanoramaItemHeaderFontSize}"/>
<Setter Property="CharacterSpacing" Value="-35"/>
</Style>
<Color x:Key="MainBackGroundColor">#F6F5E0</Color>
</ResourceDictionary>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment