|
|
@ -3,6 +3,9 @@
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
|
x:Class="ShoopNCook.Views.CounterView"
|
|
|
|
x:Class="ShoopNCook.Views.CounterView"
|
|
|
|
x:Name="Counter">
|
|
|
|
x:Name="Counter">
|
|
|
|
|
|
|
|
<ContentView.BindingContext>
|
|
|
|
|
|
|
|
<x:Reference Name="Counter"/>
|
|
|
|
|
|
|
|
</ContentView.BindingContext>
|
|
|
|
<Grid
|
|
|
|
<Grid
|
|
|
|
ColumnDefinitions="*, Auto, *">
|
|
|
|
ColumnDefinitions="*, Auto, *">
|
|
|
|
|
|
|
|
|
|
|
@ -23,15 +26,13 @@
|
|
|
|
Spacing="3"
|
|
|
|
Spacing="3"
|
|
|
|
Margin="10, 0, 10, 0">
|
|
|
|
Margin="10, 0, 10, 0">
|
|
|
|
<Label
|
|
|
|
<Label
|
|
|
|
x:Name="CountLabel"
|
|
|
|
Text="{Binding Count}"
|
|
|
|
Text="{Binding Count, Source={x:Reference Counter}}"
|
|
|
|
|
|
|
|
TextColor="{StaticResource TextColorPrimary}"
|
|
|
|
TextColor="{StaticResource TextColorPrimary}"
|
|
|
|
VerticalTextAlignment="Center"
|
|
|
|
VerticalTextAlignment="Center"
|
|
|
|
FontFamily="PoppinsMedium"/>
|
|
|
|
FontFamily="PoppinsMedium"/>
|
|
|
|
|
|
|
|
|
|
|
|
<Label
|
|
|
|
<Label
|
|
|
|
x:Name="CounterLabel"
|
|
|
|
Text="{Binding CounterText}"
|
|
|
|
Text="{Binding CounterText, Source={x:Reference Counter}}"
|
|
|
|
|
|
|
|
TextColor="{StaticResource TextColorPrimary}"
|
|
|
|
TextColor="{StaticResource TextColorPrimary}"
|
|
|
|
VerticalTextAlignment="Center"
|
|
|
|
VerticalTextAlignment="Center"
|
|
|
|
FontFamily="PoppinsMedium"/>
|
|
|
|
FontFamily="PoppinsMedium"/>
|
|
|
|