Skip to content

Commit

Permalink
Merge pull request #14 from YogeshwaranCM/master
Browse files Browse the repository at this point in the history
Changes for 3.0.0 release
  • Loading branch information
MeikandaNayanar authored Oct 8, 2019
2 parents 585588f + d5d05a9 commit 665f496
Show file tree
Hide file tree
Showing 465 changed files with 9,971 additions and 8,584 deletions.
8 changes: 6 additions & 2 deletions EssentialUIKit.Android/EssentialUIKit.Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
</PackageReference>
<PackageReference Include="Syncfusion.Xamarin.Buttons" Version="17.2.0.49" />
<PackageReference Include="Syncfusion.Xamarin.Cards" Version="17.2.0.49" />
<PackageReference Include="Syncfusion.Xamarin.Core" Version="17.2.0.49" />
<PackageReference Include="Syncfusion.Xamarin.Core" Version="17.3.0.9-beta" />
<PackageReference Include="Syncfusion.Xamarin.DataSource">
<Version>17.2.0.49</Version>
</PackageReference>
Expand All @@ -75,6 +75,9 @@
<PackageReference Include="Syncfusion.Xamarin.SfParallaxView">
<Version>17.2.0.49</Version>
</PackageReference>
<PackageReference Include="Syncfusion.Xamarin.SfProgressBar">
<Version>17.2.0.49</Version>
</PackageReference>
<PackageReference Include="Syncfusion.Xamarin.SfRating" Version="17.2.0.49" />
<PackageReference Include="Syncfusion.Xamarin.SfRotator" Version="17.2.0.49" />
<PackageReference Include="Syncfusion.Xamarin.SfPopupLayout" Version="17.2.0.49" />
Expand All @@ -84,7 +87,7 @@
<PackageReference Include="Syncfusion.Xamarin.SfTabView">
<Version>17.2.0.49</Version>
</PackageReference>
<PackageReference Include="Xamarin.Forms" Version="4.2.0.709249" />
<PackageReference Include="Xamarin.Forms" Version="4.3.0.778476-pre1" />
<PackageReference Include="Xamarin.Android.Support.Design" Version="28.0.0.1" />
<PackageReference Include="Xamarin.Android.Support.v7.AppCompat" Version="28.0.0.1" />
<PackageReference Include="Xamarin.Android.Support.v4" Version="28.0.0.1" />
Expand All @@ -94,6 +97,7 @@
</ItemGroup>
<ItemGroup>
<Compile Include="MainActivity.cs" />
<Compile Include="Renderers\CalenderDatePickerRenderer.cs" />
<Compile Include="Renderers\ParallaxListViewRenderer.cs" />
<Compile Include="Renderers\BorderlessEditorRenderer.cs" />
<Compile Include="Renderers\BorderlessEntryRenderer.cs" />
Expand Down
35 changes: 35 additions & 0 deletions EssentialUIKit.Android/Renderers/CalenderDatePickerRenderer.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
using Android.Content;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;

[assembly: ExportRenderer(typeof(EssentialUIKit.Controls.CalenderDatePicker), typeof(EssentialUIKit.Droid.CalenderDatePickerRenderer))]

namespace EssentialUIKit.Droid
{
/// <summary>
/// Implementation of Calender Data picker control.
/// </summary>
public class CalenderDatePickerRenderer : DatePickerRenderer
{
public CalenderDatePickerRenderer(Context context) : base(context)
{
}

/// <summary>
/// Used to customize the date picker control.
/// </summary>
/// <param name="e">The DatePicker</param>
protected override void OnElementChanged(ElementChangedEventArgs<DatePicker> e)
{
base.OnElementChanged(e);
if (this.Control != null)
{
this.Control.SetBackground(null);
Control.Text = (e.NewElement as Controls.CalenderDatePicker).PlaceHolderText;
Control.SetTextColor(new Android.Graphics.Color(96, 106, 123));
Control.Gravity = Android.Views.GravityFlags.CenterVertical;
Control.SetPadding(0, 0, 0, 0);
}
}
}
}
4 changes: 2 additions & 2 deletions EssentialUIKit.Android/Renderers/ParallaxListViewRenderer.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Android.Content;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using EssentialUIKit.AppLayout.Controls;
using EssentialUIKit.Droid;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;

[assembly: ExportRenderer(typeof(ParallaxListView), typeof(ParallaxListViewRenderer))]

Expand Down
7 changes: 3 additions & 4 deletions EssentialUIKit.Android/Renderers/TemplateHostViewRenderer.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
using Android.Content;
using Android.Widget;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using EssentialUIKit.AppLayout.Controls;
using EssentialUIKit.Droid.Renderers;
using View = Android.Views.View;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;

[assembly: ExportRenderer(typeof(TemplateHostView), typeof(TemplateHostViewRenderer))]

Expand Down Expand Up @@ -43,7 +42,7 @@ protected override void Dispose(bool disposing)
if (this.Control != null && this.Control.Handle != System.IntPtr.Zero)
{
var supportFragmentManager = (this.Control.Context as Android.Support.V4.App.FragmentActivity).SupportFragmentManager;
supportFragmentManager?.BeginTransaction().Remove(supportFragmentManager.Fragments[2]).Commit();
supportFragmentManager?.BeginTransaction().Remove(supportFragmentManager.Fragments[supportFragmentManager.Fragments.Count - 1]).Commit();

this.Control?.RemoveFromParent();
}
Expand Down
Binary file modified EssentialUIKit.Android/Resources/drawable-hdpi/SplashScreen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified EssentialUIKit.Android/Resources/drawable-land/SplashScreen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified EssentialUIKit.Android/Resources/drawable-mdpi/SplashScreen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified EssentialUIKit.Android/Resources/drawable-xxhdpi/SplashScreen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
149 changes: 0 additions & 149 deletions EssentialUIKit.Android/Resources/drawable/ChooseGradient.svg

This file was deleted.

85 changes: 0 additions & 85 deletions EssentialUIKit.Android/Resources/drawable/ConfirmGradient.svg

This file was deleted.

Loading

0 comments on commit 665f496

Please sign in to comment.