Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit fbe2c7f

Browse files
committed
Formatted XAML documents.
1 parent d1b75be commit fbe2c7f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

XAML/ResourceDictionaries/ResourceDictionaryDemo/App.xaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
<Application xmlns="http://xamarin.com/schemas/2014/forms"
33
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
44
x:Class="ResourceDictionaryDemo.App">
5-
<Application.Resources>
5+
<Application.Resources>
66

77
<Thickness x:Key="PageMargin">20</Thickness>
88

99
<!-- Colors -->
1010
<Color x:Key="AppBackgroundColor">AliceBlue</Color>
1111
<Color x:Key="NavigationBarColor">#1976D2</Color>
1212
<Color x:Key="NavigationBarTextColor">White</Color>
13-
<Color x:Key="NormalTextColor">Black</Color>
13+
<Color x:Key="NormalTextColor">Black</Color>
1414

1515
<!-- Implicit styles -->
1616
<Style TargetType="{x:Type NavigationPage}">
1717
<Setter Property="BarBackgroundColor"
1818
Value="{StaticResource NavigationBarColor}" />
19-
<Setter Property="BarTextColor"
20-
Value="{StaticResource NavigationBarTextColor}" />
19+
<Setter Property="BarTextColor"
20+
Value="{StaticResource NavigationBarTextColor}" />
2121
</Style>
2222

2323
<Style TargetType="{x:Type ContentPage}"
@@ -26,5 +26,5 @@
2626
Value="{StaticResource AppBackgroundColor}" />
2727
</Style>
2828

29-
</Application.Resources>
29+
</Application.Resources>
3030
</Application>

XAML/ResourceDictionaries/ResourceDictionaryDemo/ListDataPage.xaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
44
x:Class="ResourceDictionaryDemo.ListDataPage"
55
Title="List Data Page">
6-
<ContentPage.Resources>
6+
<ContentPage.Resources>
77
<ResourceDictionary Source="MyResourceDictionary.xaml" />
88

99
<!-- Implicit style -->
1010
<Style TargetType="{x:Type ListView}">
1111
<Setter Property="BackgroundColor"
1212
Value="{StaticResource AppBackgroundColor}" />
1313
</Style>
14-
</ContentPage.Resources>
14+
</ContentPage.Resources>
1515

16-
<ListView x:Name="listView"
16+
<ListView x:Name="listView"
1717
Margin="{StaticResource PageMargin}"
1818
ItemTemplate="{StaticResource PersonDataTemplate}" />
1919
</ContentPage>

0 commit comments

Comments
 (0)