Skip to content

Commit

Permalink
Update nuget package info for 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ME-MarvinE committed Feb 25, 2022
1 parent 3d35c42 commit e1ac25a
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 21 deletions.
1 change: 0 additions & 1 deletion XCalendar/CalendarView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:Converters="clr-namespace:XCalendar.Converters"
xmlns:Enums="clr-namespace:XCalendar.Enums"
xmlns:Models="clr-namespace:XCalendar.Models"
xmlns:System="clr-namespace:System;assembly=mscorlib"
xmlns:xc="clr-namespace:XCalendar"
Expand Down
10 changes: 9 additions & 1 deletion XCalendar/XCalendar.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,22 @@
<Description>A plugin for Xamarin Forms providing a completely customisable calendar control with complex functionality.</Description>
<PackageId>Plugin.$(AssemblyName)</PackageId>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<Version>2.0.1</Version>
<Version>2.1</Version>
<RepositoryUrl>https://github.com/ME-MarvinE/XCalendar</RepositoryUrl>
<PackageTags>plugin; xamarin; csharp; calendar; xamarin-forms; xamarin-plugin; calendar-component; calendar-view; xamarinforms; calendar-plugin</PackageTags>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<GenerateDocumentationFile>False</GenerateDocumentationFile>
<PackageIcon>XCalendar Nuget Icon.png</PackageIcon>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\..\..\Desktop\XCalendar Nuget Icon.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Xamarin.CommunityToolkit" Version="1.3.0" />
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2196" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
xmlns:Generic="clr-namespace:System.Collections.Generic;assembly=mscorlib"
xmlns:Popups="clr-namespace:XCalendarSample.Popups"
xmlns:System="clr-namespace:System;assembly=System.Runtime"
xmlns:xc="clr-namespace:XCalendar;assembly=XCalendar"
xmlns:xct="http://xamarin.com/schemas/2020/toolkit"
x:Name="MainConstructListDialogPopup"
x:DataType="{x:Type Popups:ConstructListDialogPopup}"
Expand Down Expand Up @@ -163,20 +162,20 @@
<CollectionView.ItemTemplate>
<DataTemplate x:DataType="{x:Null}">
<ScrollView
Grid.Column="0"
HorizontalScrollBarVisibility="Never"
Orientation="Horizontal">
Grid.Column="0"
HorizontalScrollBarVisibility="Never"
Orientation="Horizontal">
<Label
FontSize="16"
HeightRequest="40"
HorizontalTextAlignment="Center"
Text="{Binding .}"
VerticalTextAlignment="Center"/>
FontSize="16"
HeightRequest="40"
HorizontalTextAlignment="Center"
Text="{Binding .}"
VerticalTextAlignment="Center"/>
</ScrollView>
</DataTemplate>
</CollectionView.ItemTemplate>
</CollectionView>

</Grid>

<StackLayout BackgroundColor="#0080E0" Orientation="Horizontal">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
x:Class="XCalendarSample.Popups.SelectItemDialogPopup"
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:Enums="clr-namespace:XCalendar.Enums;assembly=XCalendar"
xmlns:Popups="clr-namespace:XCalendarSample.Popups"
xmlns:xct="http://xamarin.com/schemas/2020/toolkit"
x:Name="MainSelectItemDialogPopup"
Expand All @@ -13,8 +12,8 @@
<StackLayout BackgroundColor="{StaticResource ContentBackgroundColor}" Spacing="0">
<StackLayout.Resources>
<Style TargetType="{x:Type Label}">
<Setter Property="TextColor" Value="{StaticResource ContentTextColor}" />
<Setter Property="FontSize" Value="16" />
<Setter Property="TextColor" Value="{StaticResource ContentTextColor}"/>
<Setter Property="FontSize" Value="16"/>
</Style>
</StackLayout.Resources>

Expand All @@ -27,7 +26,7 @@
SelectionMode="Single"
VerticalScrollBarVisibility="Always">
<CollectionView.ItemsLayout>
<LinearItemsLayout ItemSpacing="0" Orientation="Vertical" />
<LinearItemsLayout ItemSpacing="0" Orientation="Vertical"/>
</CollectionView.ItemsLayout>

<CollectionView.ItemTemplate>
Expand All @@ -43,12 +42,12 @@
<VisualStateGroup x:Name="Common">
<VisualState Name="Normal">
<VisualState.Setters>
<Setter Property="BackgroundColor" Value="Transparent" />
<Setter Property="BackgroundColor" Value="Transparent"/>
</VisualState.Setters>
</VisualState>
<VisualState Name="Selected">
<VisualState.Setters>
<Setter Property="BackgroundColor" Value="#E0E0E4" />
<Setter Property="BackgroundColor" Value="#E0E0E4"/>
</VisualState.Setters>
</VisualState>
</VisualStateGroup>
Expand All @@ -72,7 +71,7 @@
FontSize="18"
Text="Cancel"
TextColor="White"
VerticalTextAlignment="Center" />
VerticalTextAlignment="Center"/>
</Frame>

<Frame
Expand All @@ -88,7 +87,7 @@
FontSize="18"
Text="Reset"
TextColor="White"
VerticalTextAlignment="Center" />
VerticalTextAlignment="Center"/>
</Frame>

<Frame
Expand All @@ -105,7 +104,7 @@
FontSize="18"
Text="Confirm"
TextColor="White"
VerticalTextAlignment="Center" />
VerticalTextAlignment="Center"/>
</Frame>
</StackLayout>
</StackLayout>
Expand Down

0 comments on commit e1ac25a

Please sign in to comment.