Posts

Showing posts with the label Visual Studio

Xamarin.Forms Walkthrough 2: The Curious Case of Code Sharing

Image
In this walk through we will discuss the detailed structure and concepts of code sharing in Xamarin.Forms. Before going into this article it will be good and helpful if you go through the following article to get into the flow of Xamarin. Xamarin.Forms Walkthrough 1 : Getting started with Xamarin Only by having a deep knowledge in Xamarin will help you to maximize your ability to share code. When we start to create a cross-platform project we will get a N+1 projects under a solution, where N represents the number of platforms you are targeting and the extra project will carry the code which will be shared across all your platforms. Before going further you must be aware of the .NET frameworks used in Xamarin. The versions of the .NET Framework that are used in Xamarin.iOS, Xamarin.Android, and Windows Phone are not full versions of the .NET Framework. They are smaller subsets designed to work more efficiently on mobile platforms. When we start to share code using Xamarin.F...

Xamarin.Forms Walkthrough 1: Getting Started with Xamarin

Image
In this walkthrough we will be learning the basic concepts of the world of Xamarin and Xamarin.Forms, that is a historical step in the creation of cross-platform mobile applications. Here we will talk about why or how Xamarin’s approach to create a framework differs from some of the other cross-platform frameworks. We’ll also explain the prestigious concepts of  Write Once, Run Everywhere/Anywhere. In the very beginning, there were many manufacturers of mobile devices, who had their own view or vision about the world of mobile technology look like with their operating systems. They began to build their own tools and Software Development Kits (SDKs) to support their technology, that was a little confusing for developers about how to choose the one among the others that can crack the future! If you wanted to target Android, you had to learn Java. If you wanted to target the iOS, you had to learn Objective-C. And if you dared to target the Windows Phone, you had to learn C#....

Floating Action Button for Xamarin.Android

Image
Floating Action Button for Android Using Xamarin in Visual Studio Android L has introduced something called a Floating Action Button (FAB), which is basically a circle overlayed on top your application. This FAB can be clicked to do an action.  Floating action buttons are used for a promoted action. They are distinguished by a circled icon floating above the UI and have motion behaviors that include morphing, launching, and a transferring anchor point. Floating action buttons come in two sizes: Default size: For most use cases Mini size: Only used to create visual continuity with other screen elements At 2014 Google I/O, Google announced a new visual language called Material Design. Material Design guides creation of user experiences that work well on different devices, with different input methods and on different platforms. Google is gradually implementing Material Design in their apps and products, and we can start playing with it, too. One interesting new desi...