Skip to main content

Posts

Showing posts from 2017

Apply Borders on Xamarin Forms with User Interface Elements

Hello, Some of developer including me who start from initially stage of development Xamarin.Forms are aware how to apply Border. so I found solution and share with all developer via this blog. Apply Border of Text or any Layout here is simple way to apply this. Please see screen shot and In this screen shot there is a Border is available in Terms & Conditions section. We need to place some of lines of code for this. Sample Files Code : <?xml version="1.0" encoding="UTF-8"?> <ContentPage     xmlns="http://xamarin.com/schemas/2014/forms"     xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"     x:Class="Spot.Views.TermsConditionPage"     Title="Terms &amp; Conditions"     BackgroundColor="#00000000">     <ContentPage.Resources>         <ResourceDictionar...

Lottie Animations in Xamarin.iOS

Hello, Today I will give you some of detail of and How to setup Lottie animation in Xamarin iOS. Lottie is a library created by Airbnb , It will provide a good animation in Android as well as iOS in Xamarin. I want to Specially thank to Martijn van Dijk for this awesome library is available make available in Xamarin. Question) Why I need to write this Blog :   Answer) I saw people were frustrated because Lottie was not working for them, with this post I will try to explain step by step how to make it work. Okay, Guys Lets start it. Step by Step we will start and apply Lottie Animation in Xamarin.iOS. In 4 Steps we are able to steup Lottie Animation in Xamarin.iOS   1) Install Lottie Package in Xamarin.iOS project : 2) Write code to play Animation in Controller file : 3) Place that json file in Resources foler and main point is check its build action is bundle Resources : 4) Compile your iOS project :   Feel free to comment if you...

Lottie Animations in Xamarin.Android

Hello, Today I will give you some of detail of and How to setup Lottie animation in Xamarin Android. Lottie is a library created by Airbnb , It will provide a good animation in Android as well as iOS in Xamarin. I want to Specially thank to Martijn van Dijk for this awesome library is available make available in Xamarin. Question) Why I need to write this Blog :   Answer) I saw people were frustrated because Lottie was not working for them, With this post I will try to explain step by step how to make it work. Okay, Guys Lets start it. Step by Step we will start and apply Lottie Animation in Xamarin.Andorid. In 5 Steps we are able to steup Lottie Animation in Xamarin.Andorid 1) Install the Lottie Xamarin.Android project : 2) Add your view in your XAML : 3) Write code to play Animation in CS file :   4) Place that json file in Assets foler and main point is check its build action is androis asset is checked or not :     5) Compile y...