Layout fixes and Push fixes
- Layout und Kalender angepasst - Push status meldung angepasst für Android
This commit is contained in:
+25
-14
@@ -59,28 +59,39 @@
|
||||
<CollectionView.ItemTemplate>
|
||||
<DataTemplate x:DataType="viewModels:MonthCellViewModel">
|
||||
<Border Margin="2"
|
||||
Padding="6"
|
||||
Stroke="{Binding BorderColor}"
|
||||
BackgroundColor="{DynamicResource SurfaceBackground}"
|
||||
StrokeShape="RoundRectangle 10">
|
||||
Padding="6"
|
||||
Stroke="{Binding BorderColor}"
|
||||
BackgroundColor="{DynamicResource SurfaceBackground}"
|
||||
StrokeShape="RoundRectangle 10">
|
||||
<Border.Triggers>
|
||||
<DataTrigger TargetType="Border"
|
||||
Binding="{Binding IsPlaceholder}"
|
||||
Value="True">
|
||||
<Setter Property="BackgroundColor" Value="Transparent" />
|
||||
<Setter Property="StrokeThickness" Value="0" />
|
||||
</DataTrigger>
|
||||
</Border.Triggers>
|
||||
|
||||
<Border.GestureRecognizers>
|
||||
<TapGestureRecognizer
|
||||
Command="{Binding Source={RelativeSource AncestorType={x:Type viewModels:MonthViewModel}}, Path=OpenDayCommand, x:DataType='viewModels:MonthViewModel'}"
|
||||
CommandParameter="{Binding .}" />
|
||||
Command="{Binding Source={RelativeSource AncestorType={x:Type viewModels:MonthViewModel}}, Path=OpenDayCommand, x:DataType='viewModels:MonthViewModel'}"
|
||||
CommandParameter="{Binding .}" />
|
||||
</Border.GestureRecognizers>
|
||||
|
||||
<VerticalStackLayout Spacing="4">
|
||||
<Label Text="{Binding DayNumberText}"
|
||||
FontAttributes="Bold"
|
||||
TextColor="{Binding TextColor}" />
|
||||
IsVisible="{Binding ShowDayNumber}"
|
||||
FontAttributes="Bold"
|
||||
TextColor="{Binding TextColor}" />
|
||||
<Border Padding="4"
|
||||
StrokeThickness="0"
|
||||
StrokeShape="RoundRectangle 8"
|
||||
BackgroundColor="{Binding StateColor}">
|
||||
IsVisible="{Binding ShowAverage}"
|
||||
StrokeThickness="0"
|
||||
StrokeShape="RoundRectangle 8"
|
||||
BackgroundColor="{Binding StateColor}">
|
||||
<Label Text="{Binding AverageStateText}"
|
||||
FontSize="11"
|
||||
HorizontalTextAlignment="Center"
|
||||
TextColor="White" />
|
||||
FontSize="11"
|
||||
HorizontalTextAlignment="Center"
|
||||
TextColor="White" />
|
||||
</Border>
|
||||
</VerticalStackLayout>
|
||||
</Border>
|
||||
|
||||
Reference in New Issue
Block a user