Entradas

Entry Show/Hide Password on Xamarin.Forms

Imagen
Hello, in this post i will talk about a way of how to implement a Show/Hide password on Entry control. In our Xamarin.Forms project, we add  a CustomRender for iOS, and  for Android we are using a Effects in order of have a result almost equals. I'm gonna start with the iOS functionality, so I will add a class render: using System ; using Xamarin.Forms ; namespace ShowHidePasswordEntryXF { public class ShowHidePasswordEntry : Entry { public ShowHidePasswordEntry () { } public string EntryText { get ; set ; } } } After that, in the iOS project, i will create the renderer, in which I add a UIButton and add a EventHandler in order to know if the user want to look the password or not: buttonRect . TouchUpInside   +=   ( object   sender ,   EventArgs   e1 )   = >                  {        ...

Android Wear Xamarin First Steps

Imagen
Hello, in  this post I will talking about how to begin to create Android wear apps. In first instance, we need to know, what is Android Wear? Android Wear is the operating system for personal devices (wearables), the system itself is designed to be used in smart watches, smart bracelets. Devices Some of the devices that can run Android Wear: Motorola 360 LG G Watch LG G Watch R Samsung Gear Live Sony SmartWatch 3 ASUS ZenWatch To start to create android wear apps, we need to check in order that we have the next things: Required android Sdk & tools. Android SDK Tools v 24.0.0 or higher. Android 4.4W (API20). Android 5.0.1 (API21). If we don't have a physical device, we need to create a Wear Emulator: To verify that, we use Android SDK Manager, in Xamarin Studio, Menu Tools, Open Android SDK Manager: Now, we verify if we have installed the sdk's Also we need to set up an Android Wear emulator. For do it, we need to use...

Xamarin.Forms Picker

Imagen
In this post, we gonna be see, the Picker Control in Xamarin.Forms The picker is a control that allows select one element from a predetermined list of options. The first thing that we need to do, is create a instance of Picker:             Xamarin . Forms . Picker   picker   =   new  Xamarin . Forms . Picker              {                 Title  =   " Chose   one   country " ,                 VerticalOptions  =   LayoutOptions . CenterAndExpand ,                 BackgroundColor = Color . Aqua              } ;...